Closed chengniansun closed 3 years ago
https://github.com/antlr/grammars-v4/tree/master/javascript/javascript
I want to suport reduction for JavaScript programs. What should I do? Can you give some suggestions? Thanks you.
I checked the grammar. The grammar looks complex, because the grammar requires two Java helper classes for parsing.
However, I think you can refer to what we did to support Go.
Closing this bug, as verilog is already supported in the internal version.
https://github.com/antlr/grammars-v4/tree/master/verilog/verilog
I do not plan to directly incorporate this into perses, and will design a plugin system to allow users to specify an antlr grammar.
Better to allow a user to specify the antlr grammar file with a command line flag.