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
Obol: A Security Protocol Programming Language
Per Harald Myrvang Mon Mar 30, 2009 13:49
Obol is part of a project to investigate properties of security protocols,...

nFringe at pixelminegames.com
Sam Harwell Fri Mar 6, 2009 17:04
Pixel Mine nFringe is a core technology for custom language support in...

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

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
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
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
Smalltalk Message Passing Syntax (subset)
Benjamin Kowarsch Fri May 22, 2009 08:59
This grammar describes the basic syntax of Smalltalk message passing with...

Objective Modula-2
Benjamin Kowarsch Tue May 19, 2009 07:58
ANTLR v3 grammar for Objective Modula-2, a hybrid of Modula-2 and Smalltalk,...

Modula-2 (PIM3)
Benjamin Kowarsch Tue May 19, 2009 07:26
ANTLR v3 grammar for Modula-2 adapted from the syntax given in the third...

SQL grammar for MySQL dialect (ANTLR v3)
Maciej Gawinecki Wed May 13, 2009 01:18
I've started to work on MySQL dialect of SQL grammar as I haven't found...

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 Messages
Subject: Jira issue ANTLR-378
Terence Parr Thu, 2 Jul 2009 15:50:32 -0700

Subject: Jira issue ANTLR-378
Patrick Higgins Thu, 2 Jul 2009 14:59:02 -0700 (PDT)

Subject: code translation
Terence Parr Thu, 2 Jul 2009 14:51:28 -0700

Subject: Question about preserving spaces in quoted
Gavin Lambert Fri, 03 Jul 2009 09:05:56 +1200

More...