Support StringTemplate, ANTLR Project by making a donation! Terence often pays for things like the antlr.org server, conference travel, and this site design (that alone cost US$1000). Buy him a beer and pizza remotely ;)
ANTLR Software Download
ANTLRWorks is a GUI development environment for building ANTLR v3
grammars. It is a stand-alone Java application that you can just
click on to start using ANTLR. It contains all necessary jars and is
the easiest way to get started using ANTLR. 1.5.1 is the latest
stable release and contains ANTLR v3.5.1.
Note: ANTLRWorks requires Java 1.5 or later to run
On Mac OS X you can just click on that jar and it will start up the
GUI. Same for Windows unless you use IE (IE thinks it's a zip so
you'll have to rename it). On Linux, you have to save to the disk and
run from the command line. That jar includes all the other jars
necessary to run it including ANTLR 3.5.3, StringTemplate 4.3.1, and StringTemplate 3.2.1.
Latest ANTLR version is 3.5.3, released April 9, 2022. v3 is
written in ANTLR v3 and StringTemplate 4.3.1. Parsers that build template output still use StringTemplate v3 for backward compatibility. In antlr-3.5.3-complete.jar, you'll find
everything you need to make ANTLR and its generated parsers
Source repository mirrors and daily builds
Take your pick from download directory.
ANTLR Tool Binaries
ANTLR v3.1.x binaries for .NET framework. No dependence on the Java runtime. antlr3.exe and StringTemplate and ANTLR runtime libraries it depends on. Completely independent version
written by Sam Harwell (ported from Java).
gUnit grammar unit testing
Leon Su has created an awesome unit testing system for grammars called gUnit (included in main distribution as of 3.1 release). It provides a simple way to write and run automated tests for grammars in a manner similar to what jUnit does for unit testing. The basic idea is to come up with a bunch of input/output pairs for rules in a grammar. The input can be a single line or multiple lines of strings or even an external file. The output can be simply success or failure, an abstract syntax tree (AST), a rule return value, or some text output.
gUnitEditor: Thanks to Shaoting Cai, we have a GUI for gUnit! You can download gUnitEditor here.
- Edgar Espina (same name at gmail.com) has created a cool looking ANTLR v3 plugin for eclipse.
AntlrDT: Antlr v3.1 grammar and StringTemplate editors to the Eclipse platform.
- AntlrDT Editor and Outline View; syntax-assisted editor AntlrDT Builder
- incremental Lexer/Parser generator
- StringTemplate Editor; syntax-assisted editor
ANTLR Support for netbeans. Or, from the NetBeans repository.
Visual Studio Modules
Sam Harwell's Visual Studio module for ANTLR. Also does StringTemplate syntax highlighting.