Open rlwhitcomb opened 3 years ago
The grammar is now complete (see PreProc.g4 from 203feb0), although the comments say otherwise. But now the hard work begins of incorporating the parser and visitor into the main logic instead of the home-grown lexer/parser in there now. And we still need to make sure there is nothing missing in the grammar that is actually implemented in the JavaPreProc code.
There is an Antlr v4 grammar now in PreProc.g4, which could/should be incorporated into the main processing loop in "processFile". The grammar is currently commented as "not quite complete", so we should finish it as we see things in the Java code that are not yet incorporated into the grammar.