Looking for ANTLR v3?
All users should download the ANTLR tool itself and then choose a runtime target below, unless you are using Java which is built into the tool jar.
There are plug-ins for Intellij, NetBeans, and Eclipse.
ANTLR tool and Java Target
- Complete ANTLR 4.5 Java binaries jar. Complete ANTLR 4.5 tool, Java runtime and ST 4.0.8, which lets you run the tool and the generated code.
- ANTLR 4.5 distribution (zip). Everything you need to build the tool and Java runtime from source.
- ANTLR 4.5 Java runtime binaries jar. Only what's needed for building and executing parsers/lexers generated in Java.
The Java jars are OSGi compatible so you should be able to use them within Eclipse.
To use maven, refer to group ID org.antlr and artifact ID antlr4 for the tool itself and antlr4-runtime for the Java runtime library in your pom.xml file.
ANTLR v4 is written in ANTLR v3.5.2 and StringTemplate 4.0.8. In antlr-4.5-complete.jar, you'll find everything you need to run the ANTLR tool and make its generated parsers work.
You might also be interested in ANTLR 3 and StringTemplate 4 C# releases.
pip install antlr4-python2-runtime
pip install antlr4-python3-runtime
Or, you can download and untar the appropriate package from:
The runtimes are provided in the form of source code, so no additional installation is required.
See Python runtime targets for more information.