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

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

I've been using ANTLR since the first SIGPLAN Notices printing of the PCCTS...
Ron Ten-Hove

More...

Showcase
MacroScope
vbar@comp.cz Sun Jun 29, 2008 01:26
Parsing SQL with ANTLR 3.0 to customize the commands for different database...

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

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

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

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
CSS 3
trihus Tue Jul 1, 2008 13:43
This CSS parser handles valid CSS syntax. It will also accept property...

ObjectiveC
Cedric Cuche Thu Jun 5, 2008 14:06
Antlr3 Grammar for ObjectiveC (based on grammar found in the Appendix of...

C/C++ Grammar by Sun Microsystems
Sun Microsystems / NetBeans Tue Jun 3, 2008 14:29
ANTLR v2 Grammar for C/C++

C/C++ Preprocessor Grammar by Sun Microsystems
Sun Microsystems / NetBeans Tue Jun 3, 2008 14:29
ANTLR v2 Grammar for C/C++ Preprocessor

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

More...
Mailing List Messages
Subject: Is this a bug of ANTLR3.1?
Ronghui Yu Thu, 28 Aug 2008 18:40:14 +0800

Subject: Faster expression parsing
Gavin Lambert Thu, 28 Aug 2008 19:50:51 +1200

Subject: how to exit when first error is encountered?
harshada gune Thu, 28 Aug 2008 13:18:25 +0530

Subject: Can't recoginze a file start with HIDDENlexer
Ronghui Yu Thu, 28 Aug 2008 13:29:13 +0800

More...