PUG Challenge 2017 Presentation
Proparse, forked from http://www.oehive.org/proparse/
The grammar files uses ANTLR 2x syntax (compiler in lib/antlr-2.7.7.jar), use the ANTLR plugin for Eclipse from sourceforge - http://antlreclipse.sourceforge.net/updates the newest ANTLR IDE only works with ANTLR version 3+.
As far as I can tell there are two grammar files used by proparse
- com/joanju/proparse/proparse.g
- com/joanju/proparse/proeval.g
Last one is only used if code chunk or preprocess evaluation is requested.
However, prorefactor has a number of additional grammars all looking more or less same with some extensions to the proparse one
- org/prorefactor/treeparserbase/JPTreeParser.g
- org/prorefactor/treeparser01/JPTreeParser.g
- org/prorefactor/treeparser01/expandedtreeparser01.g
Out of those only the first one seems to be used in unit test scripts.
Adding new keyword usually require: