antlr4 icon indicating copy to clipboard operation
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.

Results 411 antlr4 issues
Sort by recently updated
recently updated
newest added

Static data of lexers and parsers will never be released, this will cause numerous memory leak prompts to appear after the program exits (see the logs in #4309). This PR...

usage: ``` ... TreeViewer viewer = new TreeViewer(Arrays.asList(parser.getRuleNames()), tree); BufferedWriter writer = new BufferedWriter(new OutputStreamWriter(System.out)); viewer.toSVG(writer); ```

The Visitor tree walker for the Go target does not seem to work properly, at least how it works in comparison to all the other targets. This is a continuation...

- [check] I have reproduced my issue using the latest version of ANTLR - [check] I have submitted my issue to [antlr4-discussion google group](https://groups.google.com/forum/#!forum/antlr-discussion) or asked at [stackoverflow](http://stackoverflow.com/questions/tagged/antlr4) Here's the...

In UnbufferedCharStream.cpp, there is a comparison between `char_traits::eof` and `char_traits::eof`, leading to the following error with Clang 13. ``` C++ obj-FREEBSD/clang13/release/notpic/antlr4/runtime/Cpp/runtime/src/UnbufferedCharStream.o antlr4/runtime/Cpp/runtime/src/UnbufferedCharStream.cpp:101:41: error: comparison of integers of different signs: 'std::basic_string::value_type'...

MSYS2 CLANG64 was disallowed, but it works by just adding "Windows" to the criteria.

How to reproduce: ``` mvn install -DskipTests cd antlr4-maven-plugin mvn test ``` Fails with: [ERROR] Errors: [ERROR] Antlr4MojoTest.importTokens:59 » NullPointer Cannot invoke "org.apache.maven.model.Plugin.getGroupId()" because the return value of "org.apache.maven.plugin.MojoExecution.getPlugin()" is...

Resolves #4460 Operator precedence is currently (incorrectly) reset to zero, when a left-recursive rule contains other (non-left)recursive elements. ```g4 grammar T e : m | e '*' e * ID;...

- [x] I have reproduced my issue using the latest version of ANTLR - [x] I have asked at [stackoverflow](http://stackoverflow.com/questions/tagged/antlr4) - [x] Responses from the above seem to indicate that...

C++ target documentation says C++11 is required, where in fact C++17 is required. Specifically: > The C++ target supports all platforms that can either run MS Visual Studio 2013 (or...