According to the documentation, there are 4 steps to generating a .ts file. However, when running it against a .g4 parser file, this tool immediately fails with cannot find tokens file and lists a path to .tokens next to the .g4 file.
Clearly, there are more steps and dependencies. I assume something needs to be run previously using the Antlr4 Java tool?
According to the documentation, there are 4 steps to generating a
.ts
file. However, when running it against a.g4
parser file, this tool immediately fails withcannot find tokens file
and lists a path to.tokens
next to the.g4
file.Clearly, there are more steps and dependencies. I assume something needs to be run previously using the Antlr4 Java tool?