Home | Download | ANTLRWorks | Wiki | About ANTLR | Contact | Support | Bugs | v2


Latest version is 3.5.2
Download now! »

Download
Terence Parr What is ANTLR?
ANTLR, ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions containing actions in a variety of target languages. ANTLR provides excellent support for tree construction, tree walking, translation, error recovery, and error reporting. There are currently about 5,000 ANTLR source downloads a month.

ANTLR has a sophisticated grammar development environment called ANTLRWorks, written by Jean Bovet.

Terence Parr is the maniac behind ANTLR and has been working on language tools since 1989. He is a professor of computer science at the University of San Francisco.

More...

Testimonials

Thanks to all the ANTLR team !
gwenael.chailleu@gmail.com
Just a few words to say that we used ANTLR V3.4 to create our own extension...

Antlr for NLP
Mihai Surdeanu
At Lex Machina (lexmachina.com) we use Antlr for information extraction...

Using ANTLR to build a query parser and translator
Atul Dambalkar (atul@entrib.com)
We have been using ANTLR to build a query parser and then converting the...

ANTLR makes building custom DSLs a breeze
Mukundan Agaram (Enterprise Architect at...
We used ANTLR to build and parse custom Domain Specific Business Rule Languages...

More...

Showcase
Release14
Damir Franusic Wed Sep 19, 2012 08:09
Release14 product line uses ANTLR in various modules like CLI, SMS Filtering,...

UDK/UnrealScript plugin for Eclipse
Ori Hanegby Wed Aug 17, 2011 08:28
UDK/UnrealScript support for eclipse. Adds support for code completion,...

Open Cloud Computing Interface
Andy Edmonds Tue Jun 21, 2011 08:49
The OCCI grammar supplies a lexer and parser that will validate any valid...

More...

TRY NEW ANTLR v4!

If you like ANTLR, check out the StringTemplate template engine for all your structured text generation needs.


Search


News
  TRY NEW ANTLR v4, coming before new years
Check out Terence's blog...

File Sharing
Android port for ANTLR Java Runtime - UPDATED
Earlence Fernandes Fri Jun 22, 2012 03:41
This package contains updated instructions and documentation for my earlier...

Unification Algorithm in F#
Eric Taucher Fri Mar 16, 2012 10:43
Robinson Unification Algorithm in F# - Learning Version

Using antlr+stringtemplate to Generate Method Chaining, written in Chinese
YANG Guifu Mon Dec 5, 2011 08:13
It is a 6-days-blog attatched, which descibes step by step how to

Vim Stringtemplate Syntax
Kenney Westerhof Wed Sep 7, 2011 10:42
A VIM syntax file for StringTemplate files (.stg etc..)

More...
Documentation
Getting started with ANTLR v3

ANTLR Documentation

The Definitive ANTLR 4 Reference BETA book now available (eBook only for now).

The Definitive ANTLR Reference (PDF available), Language Implementation Patterns (PDF available).

Using ANTLR target languages

Runtime API Doc

ANTLR FAQ

Browse source tree (github)

Programming language course lecture notes

ANTLR-centric language glossary

Grammars
mysql Parser
wangmin Thu Sep 13, 2012 02:27
parse mysql, should has some errors in the grammer parser, if any pazzle,...

Unicode Character Classes
Roger Jack Thu Aug 16, 2012 12:16
This file contains lexer fragments to support 16-bit Unicode Character...

Java6Separated
George S. Cowan Sun Jul 22, 2012 08:26
The Java 6 grammar separated into a lexer grammar and a parser grammar,...

Command Line Grammar
Wed Jul 11, 2012 06:10
Command Line Grammar is used to parse command lines of Softabar Command...

More...
Articles
Visual AST for ANTLR Generated Parser Output
Matthew YC So Tue Apr 24, 2012 08:56


Why program by hand in five days what you could spend five years of your life automating?
Terence Parr Thu Aug 4, 2011 11:52
Slides from keynote from Code Generation 2011 conference in Cambridge,...

Integrating ANTLR without learning Ant (in NetBeans)
Jeff Allen Sun May 22, 2011 07:09


Integrating ANTLR without learning Ant (in NetBeans)
Jeff Allen Sat May 21, 2011 07:05
This article shows you how to incorporate ANTLR within a NetBeans build,...

More...

Mailing list
Google discussion group (v3, v4)

Old list archives