Fixed bug where ALL token constants were entirely out of scope of any code that needed them
* Removed token constant definitions from ANONYMOUS FUNCTION Compiler
* Created a Tokens object to hold all token type variables
Fixed some errors in Compiler.js, Changed token, Modified index.html
* logWarning used to push to errors array. Now pushes to correct (warnings) array
* Replaced T_EQUAL and T_NEQUAL tokens with T_BOOLOP token
* Default text now disappears from textarea in UI onfocus, but entered code does not
Rewrote the entire Parser.js. Initial version was 250+ lines, entirely incomplete, and didn't do enough to be worth the commit.
* Initial draft manually defined parseBlock, parseProgram, parseStatementList, etc. - too tedious and error prone
* New version includes Production class which can represent any language construct
* Objects of type Production can be defined in terms of SingleToken functions and other Production objects
* Production objects may be passed an optional lookAhead function or terminating character object
TODO: Build CST