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


Latest version is 3.1.1
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

Turning PHP into a functional PL
Jeffrey M. Barber
Antlr v3 is awesome. I used Antlr v2 for several projects, but my latest...

You Used Ruby to Write WHAT?!
Zed Shaw
"...using ANTLR, without much fuss I can prototype an entire new language...

Regarding The Definitive ANTLR Reference book
Gevik Babakhani
Before I got this book, I had to hack my way through various examples and...

Still using ANTLR after all these years
Ron Ten-Hove
I've been using ANTLR since the first SIGPLAN Notices printing of the PCCTS...

More...


Showcase
ArgoUML uses Java grammar for ANTLR v3
Thomas N Sat Oct 25, 2008 17:41
You can find ANTLR usage in the reverse engineering feature of ArgoUML,...

Sybase PowerBuilder compiler
Sybase Wed Oct 15, 2008 10:12
Sybase is using ANTLR in several projects like the PB compiler and in the...

Esoteric Framework
Stephan Florquin Tue Aug 26, 2008 23:30
The Esoteric Framework is a tool to create 2D and 3D user interfaces in...

More...

Looking for previous version ANTLR v2?

If you like ANTLR, check out the StringTemplate template engine.


Search


News

News feed has moved to wiki.

   ANTLR news...

   Terence's blog...


File Sharing
vim syntax highlighter for ANTLR v3
Davyd Madeley Fri Nov 21, 2008 10:43
I found an old vim syntax highlighter on antlr-interest, but it didn't...

Sun-tuned ANTLR v2
Sun Microsystems / NetBeans Tue Jun 3, 2008 14:32
Sun's NetBeans team has produced a version of ANTLR v2 that is very highly...

Yggdrasil 0.5b2 manual
Loring Craymer Thu Nov 29, 2007 13:31
Yggdrasil documentation

ANTLR v3 task for Ant
Juergen Pfundt Thu Nov 15, 2007 15:22
[updated] A task for Ant that knows about building ANTLR v3 grammars.

More...
Documentation
Getting started with ANTLR v3

ANTLR Documentation

The Definitive ANTLR Reference: Building domain-specific languages (PDF available).

Using ANTLR target languages

Runtime API Doc

Source/version tree (Fisheye)

Continuous build system (Hudson)

ANTLR FAQ

Programming language course lecture notes

ANTLR-centric language glossary

Grammars
Verilog grammar for ANTLR v3.
Arik Ter-Galstyan Wed Nov 26, 2008 22:19
Verilog grammar for ANTLR v3 converted from ANTLR v2 verilog grammar written...

PDDL 3.0 grammar for ANTLR 3.1
Zeyn Saigol Thu Oct 2, 2008 08:40
Grammar for parsing PDDL 3.0. Not quite complete, as it doesn't cope with...

S-Expression Parser
Robert Stehwien Thu Sep 25, 2008 13:10
A Lisp s-expression parser that is part of a lisp interpreter I'm working...

CSS 3
trihus Tue Jul 1, 2008 13:43
This CSS parser handles valid CSS syntax. It will also accept property...

More...
Articles
Write Your Own Language With ANTLR 3 and the DLR
Dermot Hogan Tue Sep 2, 2008 10:47
Ever had trouble learning a computer language in the past? Well why not...

ANTLR 3.0
Mark Volkmann Mon Jun 2, 2008 12:18
A large article talking about how to use ANTLR 3.0.

The Reuse of Grammars with Embedded Semantic Actions
Terence Parr Thu Apr 3, 2008 10:33
My keynote paper for IEEE International Conference on Program Comprehension...

Create Domain-Specific Languages with ANTLR
Rod Coffin and Paul Holser Wed Nov 14, 2007 11:47


More...

Mailing list
Subject: Suggestion for List size in BaseTree
Loring Craymer Tue, 2 Dec 2008 07:31:22 -0800 (PST)

Subject: How the get the token value of 'ONEOF'
Jared Bunting Tue, 02 Dec 2008 08:50:58 -0600

Subject: How the get the token value of 'ONEOF'
chain one Tue, 2 Dec 2008 22:07:18 +0800

Subject: How the get the token value of 'ONEOF'
Jared Bunting Tue, 02 Dec 2008 07:55:55 -0600

More...