ANTLR (ANother Tool for Language Recognition) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++, Java, or Sather actions. It is similar to the popular compiler generator YACC, however ANTLR is much more powerful and easy to use. ANTLR-produced parsers are not only highly efficient, but are both human-readable and human-debuggable (especially with the interactive ParseView debugging tool). ANTLR can generate parsers, lexers, and tree-parsers in either C++, Java, or Sather. ANTLR is currently written in Java.
| Tags | Software Development Code Generators Compilers Interpreters Text Processing Linguistic |
|---|---|
| Licenses | BSD Revised |
| Implementation | C++ Java |
Recent releases


Release Notes: Numerous Java and C++ bugfixes. Documentation updates.


Release Notes: Numerous Java and C++ bugfixes. Documentation updates.


Release Notes: This release has lots of bug fixes. The C++ code generator has been greatly improved. Java output can do unicode now.


Release Notes: This version adds nongreedy subrules, heterogenous trees, XML serialization, an improved C++ code generator, a new Sather code generator, an example Pascal grammar and a new exception hierarchy. There is also an ANTLR Emacs mode available.


Release Notes: Initial announcement.