Compile grammar with base classes
hieunguyen2211 opened this issue · comments
My Lexer.g4 and Parser.g4 are based on classes that are written by Javascript. I found that I can use this command to compile Lexer.g4 and Parser.g4 without base classes:
antlr4ts -lib . grammar/ScssLexer.g4 grammar/ScssParser.g4
However, I can not find any solution regarding base classes. Is there any way to compile grammar with base classes?