Looking for ANTLR v3?
The latest version of ANTLR is 4.1, released June 30, 2013. As of 4.1, we have a Java and C# target, but C++ is next on deck now that we have finalized the API. [Unfortunately, we had to push C++ target off to unknown future date]
ANTLR v4 is written in ANTLR v3.5 and StringTemplate 4.0.7. In antlr-4.1-complete.jar, you'll find everything you need to run the ANTLR tool and make its generated parsers work. Please see CHANGES.txt and README.txt.
ANTLRWorks2 and plugins
ANTLRWorks 2. This IDE is a sophisticated editor for ANTLR v3/v4 grammars as well as StringTemplate templates. It can run the ANTLR tool to generate recognizers and can run the TestRig (grun on command line) to test grammars. To integrate ANTLR-generated recognizers into your application, you will still need at least the runtime library shown below.
Also we have a basic ANTLR v4 plugin for Intellij 12. It does syntax highlighting and syntax error checking. You get a navigation window too. Sample usage showing Java grammar to the right. See the installation instructions.
- Complete ANTLR 4.1 Java binaries jar. Complete ANTLR 4.1 tool, Java runtime and ST 4.0.7, which lets you run the tool and the generated code.
- ANTLR 4.1 distribution. Everything you need to build the tool and Java runtime from source if you use ant or mvn.
- ANTLR 4.1 Java runtime binaries jar. Only what's needed for building and executing parsers/lexers generated in Java.
C# TargetCurrently still 4.0 not 4.1. Should be out July 7.
Your next steps are probably: