The generated parsers are different. The version generated with the script has no compile errors, the other one has errors. The errors actually stem from the differences: The version generated by the extension sets some (unknown) exception properties, e.g.
Versions.
I have defined a grammar (the expression example from https://github.com/mike-lischke/antlr4ng) and let the extension generate the code.
Here is my
.vscode/settings.json
:I also have generated the code via antlr4ng-cli, i.e.
The generated parsers are different. The version generated with the script has no compile errors, the other one has errors. The errors actually stem from the differences: The version generated by the extension sets some (unknown) exception properties, e.g.