Closed hieunguyen2211 closed 3 years ago
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?
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?