Hello, I haven’t used ANTLR in a while but now I am looking to initialise the parse and I can’t find the init() methods anymore?? It used to give the ParsTree back. How is this done now?
Hello, I don’t know what init() did in previous versions, but in ANTLR 4, the parser’s entry point is the rule (production) corresponding to the whole text you want to parse. It depends on the grammar, it might be parser.file() or parser.script() or whatever.