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.
Doesn't matter if OUTPUT_DIRECTORY is specified or not, the files will be generated in subfolders but cmake $ANTLR_EgsGrammar_CXX_OUTPUTS} will contain no subfolders resulting in error No such file or directory
I'm attemping to link the cpp runtime project with the lld linker. I followed [compiling on linux](https://github.com/antlr/antlr4/tree/master/runtime/Cpp#compiling-on-linux) and it works fine with the regular linker `GNU ld (GNU Binutils for...
Heh, we have to get 4.11 out so that people can use the amazing Go target what day is done by @jimidle. Stuff to do: - [ ] Make sure...
Looks like there's an issue in ArrayPredictionContext::equals() exposed by this test from this Test.cpp line: ``` tree::ParseTree *tree = parser.expression(); ``` We get : ``` $ clang++ -g -std=c++17 -I...
* Remove redundant functionality (use native .NET api instead of hand-written classes and methods) * Upgrade net45 to net462 since net45 doesn't support `Array.Empty()` and it's too old
Some were turned off due to performance I think.
This is related to a SO question https://stackoverflow.com/q/73522066/4779853 The grammar is poorly written as an EOF-start rule, but that is irrelevant because parsing results should always be consistent when a...
The `**` gets expanded in some shells (zsh), so protect it from that, else the invocation may fail, e.g.: ``` $ mvn -Dtest=javascript.** test zsh: no matches found: -Dtest=javascript.** ```...
Hello, I'm trying antlr 4.7 (Java runtime) with a test grammar in this [repository](https://github.com/gaulouis/test_antlr-4.7) ``` $ echo "" | java org.antlr.v4.gui.TestRig Php block -tree line 1:11 token recognition error at:...