chasm icon indicating copy to clipboard operation
chasm copied to clipboard

Use CongoCC

Open revusky opened this issue 1 year ago • 1 comments

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:

Parser.ccc.txt

It seems that the project builds/tests as before using that file.

revusky avatar Jun 05 '23 13:06 revusky

This shouldn't be too hard given we have the upgraded parser file. As long as all tests pass as before.

sylv256 avatar Aug 12 '23 02:08 sylv256