Symantic Analysis no longer crashes on encountering empty string. Fixes #5.
Tokens now hold a reference to their scope after Symantic Analysis.
Fixed bug where Symantic Analysis did not return the generated ast.
Added a bunch of scope tracking to Symantic Analysis. Still needs more probably. Code gen handles basic declarations and assignments.
Added more tracking for scope. Hopefully complete in that regard.
Added code gen for basic var declarations, assignment statements and print statements.
Printing from variables now works. Static area and backpatching (for static area) work.
Code gen now supports assigning identifiers to identifiers.
Code gen works for if statements. Fixed total bytes available. == works partially.
Got != working by some unknown magic.
while loops and addition should now be working.
Deal with int exprs in == cases.
Basic (non-nested) boolean expressions now work in if / while statements.
Optimized string storage a bit. Added string comparison.
Added code for 'true' and 'false' as conditions for while/if statements.
Now prints int expressions. Still does not support boolean exprs.
Added output box to for generated code
Added verbose output and error checking.
Fixed bug where == was not comparing identifiers.
Added test cases.