Closed nchen63 closed 9 months ago
Yes, the jar has been generated using standard ANTLR4. The only difference to the official jar is that it uses different group templates for TypeScript, which allows to generate parser files compatible with antlr4ng. This is btw. the same approach that antlr4ts uses.
Does it have the same content as https://github.com/tunnelvisionlabs/antlr4ts/blob/master/tool/resources/org/antlr/v4/tool/templates/codegen/TypeScript/TypeScript.stg? I ran into some invalid references to antlr4ng using that file.
No. This is the one from antlr4ts. I have an own group template.
It would be a lot easier to find and to keep in sync if it was in the same repo as antlr4ng
That's the ultimate plan for ANLTRng. Once ANTLR4 has been ported to TS, a new runtime concept will be implemented where everything related to a runtime (its template files, tests, builds and releases) are done by the runtime author and no longer by the tool author.
Is it the same as the JAR file built from https://github.com/antlr/antlr4 or is there an ng version stored somewhere?