antlr4
antlr4 copied to clipboard
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
This commit addresses a number of complaints from the javadoc tool. I signed the contributor agreement in my first pull request: https://github.com/antlr/antlr4/pull/2739.
Users are encountering the mismatched input error and this is by design. However, the error message could be constructed to simplify the user experience. This PR suggests a fix in...
Seems like there's one mistyped character here
^Z doesn't work, Ctrl+Z works even though they both display ^Z thanks to schandrasekhar: https://github.com/antlr/antlr4/issues/844#issuecomment-441673407
Closes #212 I mostly just duplicated the code for the `more` command and updated the behavior as necessary. I also added an entirely new token type instead of overloading `MORE`....
Add a super property to the Base*Visitor generated code allowing to only override the required Visitors vs implementing each one in its entirety. Example code: ``` type fooVisitor struct {...
prevInserts list is the subset of rewrites, so indices taken from enumerating its elements do not correspond to the correct indices in rewrites. Use prevIop.instructionIndex instead, which matches the other...