From 6f46531c5985bde0f368f59d8532929c1aa9fdc2 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 15 Oct 2008 22:35:16 -0400 Subject: [PATCH] a bunch of cleanup, reworking xml parsing and ui changes --- build/javascript.hxml | 3 +- build/tests.hxml | 3 +- htdocs/index.html | 3 +- htdocs/style.css | 28 +++++++- src/CodeParser.hx | 27 +++----- src/ConstantTokenProcessor.hx | 2 - src/FunctionTokenProcessor.hx | 54 +++++++++++++-- src/JavaScriptTarget.hx | 20 ++++-- src/MyTests.hx | 1 + src/RegenerateDataFiles.hx | 16 +---- src/TestCodeParser.hx | 4 +- src/TestFunctionTokenProcessor.hx | 18 ----- src/TestTokenProcessor.hx | 35 ++++++++++ src/TokenProcessor.hx | 108 +++++++++++++++++++++++------- 14 files changed, 227 insertions(+), 95 deletions(-) create mode 100644 src/TestTokenProcessor.hx diff --git a/build/javascript.hxml b/build/javascript.hxml index 9881998..965984a 100755 --- a/build/javascript.hxml +++ b/build/javascript.hxml @@ -1,5 +1,4 @@ -js ../htdocs/harmoniouscode.js -main JavaScriptTarget --resource ../data/functions_tokens_cache.hxd --resource ../data/constant_tokens_cache.hxd +-resource ../data/all_tokens.hxd -cp ../src diff --git a/build/tests.hxml b/build/tests.hxml index f9b7c18..49aa12f 100644 --- a/build/tests.hxml +++ b/build/tests.hxml @@ -1,5 +1,4 @@ -main MyTests -neko ../neko/my_tests.n --resource ../data/functions_tokens_cache.hxd --resource ../data/constant_tokens_cache.hxd +-resource ../data/all_tokens.hxd -cp ../src diff --git a/htdocs/index.html b/htdocs/index.html index 089ace3..9466adf 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -12,10 +12,11 @@