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

Yahoo! Query Language
Submitted by Terence Fri Aug 7, 2009 16:50
Yahoo! uses ANTLR for its query language. The Yahoo! Query Language is...

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

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

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
C# 4.0 for Antlr v3
Andrew Bradnan Mon Nov 23, 2009 14:52
ANTLR 3 grammar for CSharp 4.0 with preprocessor.

Python 3 grammar for C target
Ales Teska Fri Oct 9, 2009 14:52
ANTLR grammar with supporting C code and test/demo application. The only...

XQGrammar - 1.1.0
Nikolay Ognyanov Sat Aug 8, 2009 16:08
ANTLR 3 grammar for XQuery with Update, Scripting and Full Text.

XQGrammar
Nikolay Ognyanov Mon Aug 3, 2009 16:25
ANTLR 3 grammar for XQuery with Update and Scripting.

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

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.

More...
Mailing List Messages
Subject: Q re syntax for relative root for
Gerald Rosenberg Thu, 11 Mar 2010 10:45:57 -0800

Subject: Associate .stg files
Elias Theocharopoulos Thu, 11 Mar 2010 18:35:12 +0000

Subject: Q re syntax for relative root for
Terence Parr Thu, 11 Mar 2010 10:27:14 -0800

Subject: Q re syntax for relative root for
Gerald Rosenberg Thu, 11 Mar 2010 09:56:37 -0800

More...