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


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.

More...

Testimonials

Using this to parse a custom lightweight scripting language. It was quick...
Maximus

I am a graduate from China and just learning your ANTLR. It's good but...
Wang Bin

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

More...

Showcase
Zoneinfo TZ
Christopher Hunt Sun Apr 3, 2011 16:14
Zoneinfo TZ is a Java time zone library that parses zoneinfo files and...

Oncology query language (OQL)
Arthur Goldberg Wed Mar 16, 2011 13:20
An oncology query language (OQL), which enables cancer researchers to refine...

Processing
Ben Fry & Casey Reas Fri Oct 8, 2010 20:34
Creative coding language and IDE uses ANTLR for source preprocessing

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

File Sharing
ANTLR v3 task for Ant
Juergen Pfundt Mon May 16, 2011 14:34
[updated] A task for Ant that knows about building ANTLR v3 grammars.

Android port of the ANTLR Java Runtime
Earlence Fernandes of CRePE project Fri Feb 4, 2011 10:58
A tarball that can be overlayed on top of an existing antlr 3.3 distribution....

XQuery Grammar in Antrl
Adam Retter Thu Oct 28, 2010 06:49
ANTLR 3 grammar and generated Java parser for XQuery with Update, Scripting...

mdsl
Sun Oct 10, 2010 23:30
mdsl is a simple interpreted language built on top of java.

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
CSV grammar
Nathaniel Harward Fri May 13, 2011 10:08
While looking for a simple CSV grammar I saw the one in the ANTLR wiki...

ISO SQL 2003 Grammar
Douglas Godfrey Sun May 1, 2011 19:53
The ISO SQL 2003 grammar will now build successfully but it requires a...

updated ISO SQL 2003 Grammar
Douglas Godfrey Wed Apr 27, 2011 20:42
here is an updated version of my ISO SQL 2003 grammar.

ISO SQL 2003 Grammar
Douglas Godfrey Wed Apr 13, 2011 08:38
This is an initial pass at converting the ISO SQL 2003 grammar to Antlr....

More...
Articles
Integrating ANTLR without learning Ant (in NetBeans)
Jeff Allen Sun May 22, 2011 07:09


Integrating ANTLR without learning Ant (in NetBeans)
Jeff Allen Sat May 21, 2011 07:05
This article shows you how to incorporate ANTLR within a NetBeans build,...

Getting Started with ANTLR
Tobias Gutzmann Tue Apr 5, 2011 09:05
This short text is targeted to students who want to start using ANTLR....

LL(*): The Foundation of the ANTLR Parser Generator
Terence Parr and Kathleen Fisher Sat Feb 5, 2011 13:07
[This is a draft of paper accepted to PLDI 2011] Despite the power of Parser...

More...
Mailing List Messages
Subject: Fw:urgent
yue xin Mon, 18 Jul 2011 17:25:12 +0800 (CST)

Subject: urgent
yue xin Mon, 18 Jul 2011 17:15:39 +0800 (CST)

Subject: how to configure the antlr jar in unix for
Parsiad Azimzadeh Mon, 18 Jul 2011 01:57:24 -0700

Subject: how to configure the antlr jar in unix for C/c++
Asjad Naaz Mon, 18 Jul 2011 13:00:40 +0530

More...