"cannot find tokens file" (documentation missing)
matthew-dean opened this issue · comments
Matthew Dean commented
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?
Matthew Dean commented
Ah okay, looks like the lexer needs to be compiled first.