sharwell/antlr4

Use factory methods to create parser context objects

Opened this issue · 0 comments

In order to truly support an interpreter-only parsing algorithm, the interpreter will need the ability to construct context objects without resorting to reflection. The availability of an interpreted parsing mode is the ideal situation for advanced code-completion and other IDE features, with the current -Xforce-atn option to the ANTLR tool in place as a band-aid.