Download ANTLR
Looking for ANTLR v3?
The latest version of ANTLR is 4.0, released January 22, 2013. As of 4.0, we only have a Java target, but C# and C++ are next on deck now that we have finalized the API.
ANTLR v4 is written in ANTLR v3.5 and StringTemplate 4.0.7. In antlr-4.0-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.
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 next.
- Complete ANTLR 4.0 Java binaries jar. Complete ANTLR 4.0 tool, Java runtime and ST 4.0.7, which lets you run the tool and the generated code.
- ANTLR 4.0 distribution. Everything you need to build the tool and Java runtime from source if you use ant or mvn.
- ANTLR 4.0 Java runtime binaries jar. Only what's needed for building and executing parsers/lexers generated in Java.
Your next steps are probably: