Refactored Parser.js
* runProduction is now its own function instead of part of each Production
* symbol table and scope no longer generated in Parser.js - will be generated in SymanticAnalysis instead
Reworked Compiler, Lexer and Parser with CorduleJS. Removed SymbolTable for now.
Implemented OutputBuffer to prevent lagging due to excessive output. Fixes #1.
Revised SymbolTable to work with CorduleJS.
Added first implementation of Semantic Analysis
* Currently only builds AST
* Not fully tested
Stylistic / functionality changes to UI
* Output, CST, and AST now in separate tabs for easier viewing. Closes #2.
* Verbose checkbox allows toggling between normal and verbose output upon compile. Closes #4.
Fixed bug in ast-creation string building.
Cleared compiledStr before printing to next DOM element. Fixes #3.
Updated UI and output is now printed into correct divs
Fixed bug in SymanticAnalysis where bool-expr did not evaluate properly
Now only supports lowercase characters.
Pretty much implemented all of Symbol Table creation, Scope handling, and Type Checking.
Added warnings about declared but unused identifiers and uninitialized variables.
Fixed bug where 'used' parameter was mistakenly being set to true on the nearest scope item instead of the correctly typed one.
Added test case results file.
Made some UI updates to clean it up. Added a dropdown for test cases.