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


Latest version is 3.0.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

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...

Problem Solved
Vertigo
As of 4:30 yesterday afternoon, my sourceforge project (that must parse...

More...


Showcase
New version of ANTLR Tester
Jeremy D. Frens Thu Mar 27, 2008 10:33
The ANTLR Testing library is a JUnit extension to test ANTLR grammars....

Adobe Flex Builder 3
Steve Breinberg Wed Mar 26, 2008 16:45
Adobe(r) Flex(r) Builder(tm) 3 software is a highly productive Eclipse(tm)...

SelectView
Alien~ Sun Feb 17, 2008 23:05
A tool for Relational Data Analysis. split show relational data.

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
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.

C-- compiler and interpreter
Scott Fortmann-Roe Thu May 3, 2007 13:35
A simple interpreter and compiler for a subset of C supporting if-statements,...

antlr v3 rakefile.rb (a la Makefile)
Joseph Grace Sun Mar 25, 2007 15:31
A simple rakefile.rb to build antlr v3 (antlr.jar) from source. Includes...

More...
Documentation
Getting started with ANTLR v3

ANTLR Documentation

The Definitive ANTLR Reference: Building domain-specific languages
Terence's ANTLR v3 book is now available (May, 2007). You can buy the PDF of it also.

ANTLR API Documentation

ANTLR source tree (Fisheye)

ANTLR FAQ

Programming language course lecture notes

ANTLR-centric language glossary

Changes in ANTLR v3 from v2

Grammars
Micro Xpath
Jesıs Zazueta Tue May 6, 2008 15:40
XPath subset. Implements forward axis navigation and attribute access....

Java 1.5 grammar for ANTLR v3 that builds trees
Dieter Habelitz Fri Apr 11, 2008 09:43
A Java 1.5 grammar that builds trees and a tree grammar. Not derived from...

A complete ECMAScript 3 grammar
Xebic Research B.V. (Patrick Hulsmeijer) Wed Apr 9, 2008 05:08
Combined lexer/parser and treeparser grammars written from scratch with...

ECMAScript
Chris Lambrou Fri Mar 28, 2008 13:38
I couldn't get the ECMAScript by Greg Clemenson on the Grammar List page...

More...
Articles
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 ANTLR - Java, and comparisons to PLY and PyParsing
Andrew Dalke Sun Nov 4, 2007 14:23
There are several reasons to use ANTLR over one of the Python parsers like...

ANTLR rules
Andrew Dalke Fri Nov 2, 2007 10:05
Previously I showed how to use ANTLR to build a AST from a molecular formula...

More...
Mailing List Messages
Subject: Most efficient way to handle character escapes?
Scott Royston Fri, 9 May 2008 13:00:22 -0500

Subject: TSQL Grammar
Peter Maciver Fri, 9 May 2008 08:48:40 +0100

Subject: most efficient grammar pasing
Peter Maciver Fri, 9 May 2008 08:47:43 +0100

Subject: Exiting the Recognizer in C
Jim Idle Thu, 08 May 2008 17:25:10 -0700

More...