chasm
chasm copied to clipboard
Use CongoCC
JavaCC21 has been rebranded as CongoCC and, really, existing users of JavaCC21 are strongly encouraged to switch to Congo. That is where all new development will be happening.
One thing you may find appealing is that CongoCC is on Maven Central, since this was some sort of issue regarding JavaCC21.
A more important point, however, is that the cluttered legacy JavaCC syntax is no longer supported in CongoCC. Later versions of JavaCC21 did (or do) have a syntax converter, which you can run via:
java -jar javacc-full.jar convert MyGrammar
But I thought to give you a converted file for your convenience. The attached file is functionally the same as your older Parser.jj
but is entirely in the newer streamlined syntax:
It seems that the project builds/tests as before using that file.
This shouldn't be too hard given we have the upgraded parser file. As long as all tests pass as before.