meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
new_syntax_summary [2023/04/10 10:01] revuskynew_syntax_summary [2023/04/10 10:04] (current) revusky
Line 2: Line 2:
  
 The following is a summary of CongoCC's streamlined syntax from the perspective of somebody migrating The following is a summary of CongoCC's streamlined syntax from the perspective of somebody migrating
-from legacy JavaCC. Note that, unlike CongoCC's predecessor, JavaCC 21, CongoCC //does not// support the legacy syntax. Any existing grammar file must be converter. There is a utility available that automatically converts the legacy syntax to the streamlined syntax. You can pick up the [latest build of JavaCC 21](https://parsers.org/download/javacc-full.jarand the converter can be invoked via ''java -jar javacc-full.jar convert MyGrammarfile''. (N.B. The converter is somewhat imperfect, and you may well need to hand-edit the results. Even so, it is bound to be timesaver.)+from legacy JavaCC. Note that, unlike CongoCC's predecessor, JavaCC 21, CongoCC //does not// support the legacy syntax. Any existing grammar file must be converter. There is a utility available that automatically converts the legacy syntax to the streamlined syntax. You can pick up the [[https://parsers.org/download/javacc-full.jar|latest build of JavaCC 21]] and the converter can be invoked via ''java -jar javacc-full.jar convert MyGrammarfile''. (N.B. The converter is somewhat imperfect, and you may well need to hand-edit the results. Even so, it is bound to be timesaver.)