antlr4-cpp
antlr4-cpp copied to clipboard
C++ target for ANTLR 4, including templates and runtime
Hello, I have multiple error when compiling the generated parser and lexer. ANTLR version: **4.13.0** Os: Macos Command used: `antlr -Dlanguage=Cpp -o ${CMAKE_CURRENT_SOURCE_DIR}/src/LythonCompiler/Parser/ANTLR/ ${CMAKE_CURRENT_SOURCE_DIR}/src/LythonCompiler/Parser/ANTLR/Python3Parser.g4` the error: ``` /Users/./Documents/lython-cpp/src/LythonCompiler/Parser/ANTLR/PythonParser.cpp:19168:11: error: use...
Hi, There are the following codes: ``` class A {}; class B : public A {}; B *b = new B; antlrcpp::Any any = b; bool is = any.is(); ```...
For data members of rule contexts, is there any particular reason that specifying some rule context class name as the type for a parameter for that some other rule tries...
Hi, I'm using references to the generated parser contexts in my AST implementation. I find that I have a tendency to want to return const pointers from getter functions. ```...
Hello, Inspiring on C ++ test for my unit tests in C, I noticed an error in the expecting result. Maybe the `+1` has no effect? In `https://github.com/antlr/antlr4-cpp/blob/master/antlr4cpp/antlr/test/test_interval_set.cpp` ``` void...