Home | Download | News | Wiki | About ANTLR | Feedback | Support | Bugs


Latest version is 2.7.7.
Download now! »

Download
Terence Parr What is ANTLR?
ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing Java, C#, C++, or Python actions. ANTLR provides excellent support for tree construction, tree walking, and translation. There are currently about 5,000 ANTLR source downloads a month.

If you like ANTLR, check out Terence's StringTemplate template engine.

Terence Parr is the maniac behind ANTLR and has been working on ANTLR since 1989. He is a professor of computer science at the University of San Francisco. Come study language design and implementation with Terence at USF! We have research fellowships worth up to US$15,000 for the best applicants.

More...

Testimonials

I'm actually really liking ANTLR! I have a pretty darn good velocity with...
Guido van Rossum

Antlr v3 is awesome. I used Antlr v2 for several projects, but my latest...
Jeffrey M. Barber

"...using ANTLR, without much fuss I can prototype an entire new language...
Zed Shaw

Before I got this book, I had to hack my way through various examples and...
Gevik Babakhani

More...

Showcase
smali
JesusFreke Sat Apr 24, 2010 16:16
An assembler for Android's dex bytecode/format, written with ANTLR v3....

Google App Engine (Python) uses ANTLR
submitted by Terence Parr Thu Jan 14, 2010 14:39
"In addition to the Python standard library, the App Engine APIs and tools,...

SyntaxEditor for WPF has ANTLR parser integration
Bill Henning Tue Oct 20, 2009 16:17
The next build of WPF Studio will contain a new assembly that makes it...

More...


See the latest on ANTLR v3 and ANTLRWorks dev tool.


Search


News
ANTLRWorks 1.0b10 released
Jean Bovet Thu Apr 19, 2007 15:31
Get it while it's hot!

ANTLR 3.0b7 released!
Terence Parr Thu Apr 12, 2007 14:33
Lots of bug fixes etc...heading for v3 release in May

Proposed: 2007 Google Summer Of Code ANTLR Projects
Terence Parr Sun Mar 11, 2007 13:56
Hi. I just submitted the following proposal for 2007 Google Summer Of Code...

ANTLR v3 beta book available in PDF
Terence Parr Tue Feb 6, 2007 11:15
The beta of my upcoming ANTLR v3 book is available in PDF form. As of this...

More...
File Sharing
ANTLR v3 task for Ant
Juergen Pfundt Mon Jul 5, 2010 11:37
[updated] A task for Ant that knows about building ANTLR v3 grammars.

Unicode category lexer fragments for ANTLR3
Robert Baruch Thu Nov 12, 2009 16:09
This zip file contains Unicode_5.2.0_Lexer.g, a set of lexer fragments...

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

More...
Documentation
ANTLR Wiki
Mostly v3 content.

ANTLR 2.7.5 manual translated to Chinese

The Definitive ANTLR Reference: Building domain-specific languages
Terence's ANTLR v3 book coming out in Early May, 2007. You can buy the PDF of it now. ANTLR v3 will ship before the book is printed.

An introduction to ANTLR
Terence Parr Fri Jun 10, 2005 11:00
What is ANTLR all about? Gives a brief introduction to syntax and what...

Getting started
Terence Parr Fri Jul 4, 2003 15:00
Getting started with ANTLR. Beginners! Please start here. :)

ANTLR 2.7.5 Documentation
Terence Parr Thu Jul 3, 2003 15:00
Main ANTLR user's manual.

Programming Languages Course Lecture Notes/Audio
Terence Parr Thu May 15, 2003 00:00
A graduate course taught Spring 2003 at the University of San Francisco...

More...
Grammars
PL/SQL
Patrick Higgins Fri Jul 16, 2010 15:20
Parser for Oracle PL/SQL. Works with 11g. More details can be found in...

XPath 1.0 grammar
Jan-Willem van den Broek Thu Jul 15, 2010 17:09
XPath 1.0 grammar. Should conform to the official spec at http://www.w...

Pascal grammar in ANTLR 3
Marton Papp Thu Jul 15, 2010 11:04
It contains a Pascal grammar file in ANTLR 3 format. It was made by exising...

Extended GQL Parser (Google App Engine - Java)
Vaclav Bartacek Thu Jun 10, 2010 08:37
Lexer+Parser and TreeParser grammars allow to evaluate SELECT, INSERT,...

More...
Articles
ANTLR via Clojure
Brian Carper (Submitted by TJP) Sun Jul 18, 2010 07:34
Can you use ANTLR from Clojure? Sure. Would you want to? Maybe. Here's...

Learning ANTLR
Bill Bejeck Fri Mar 5, 2010 19:31
A tutorial on getting started with ANTLR. Covers the basics of writing...

ANTLR 3.x Video Tutorial
Scott Stanchfield Mon Dec 14, 2009 11:26
I've converted my ANTLR 2.x tutorial to ANTLR 3.x in the most lazy way...

Implementing parsers and state machines in Java
Terence Parr Fri Oct 2, 2009 15:39
Slides and video for my talk at 2009 JVM language summit. Topics: Generated...

More...
Mailing List Messages
Subject: A Problem Using VS2008
wws_ques at yahoo.com Thu, 2 Sep 2010 13:28:41 -0700 (PDT)

Subject: if/else if/else vs. if/elif/else
Serghei A Thu, 2 Sep 2010 15:14:34 -0400

Subject: if/else if/else vs. if/elif/else
Serghei A Thu, 2 Sep 2010 14:33:20 -0400

Subject: Issue ANTLR-397 - CommonTreeNodeStream.index()
Junkman Thu, 02 Sep 2010 10:57:19 -0700

More...