Added new skeleton files for the frontend.
Finished the rest of Assignment 2, completing the initial lexer implementation. Includes
6 test programs (5 custom made). JavaCC will regenerate the lexer files on 'javacc' in
the src/frontend.generated directory.
Enable debug mode for the praser generator.
Partially implemented, untested grammar specification.
First attempted grammar specification (untested).
Made changes to make JavaCC mostly happy. Need to fix ambiguity in
MethodDecl(), wrt "( VarDecl() )* ( Statement() )*" both being able
to be started by an <IDENTIFIER>.
Fixed issue with MethodDecl() by setting the LOOKAHEAD to two at
the choice point. Also fixed another issue by factoring
ExpMooRawr() out of ExpMoo(). JavaCC now happily generates
using the grammar.
Updated project to use resources from the HW3 starter code zip. Adding
a RAM13 test program, and minor tweaks to the MainLexer.java.
Undid changes to MainLexer.java, as they were meant to be in
MainParser.java instead.
Added MainParser.java.