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

We have developed a software package that integrates with Microsoft Excel...
Guido Leenders at Invantive

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

More...

Showcase
UDK/UnrealScript plugin for Eclipse
Ori Hanegby Wed Aug 17, 2011 08:28
UDK/UnrealScript support for eclipse. Adds support for code completion,...

Open Cloud Computing Interface
Andy Edmonds Tue Jun 21, 2011 08:49
The OCCI grammar supplies a lexer and parser that will validate any valid...

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

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
Using antlr+stringtemplate to Generate Method Chaining, written in Chinese
YANG Guifu Mon Dec 5, 2011 08:13
It is a 6-days-blog attatched, which descibes step by step how to

Vim Stringtemplate Syntax
Kenney Westerhof Wed Sep 7, 2011 10:42
A VIM syntax file for StringTemplate files (.stg etc..)

Antlr D target
Márton Papp Wed Jul 20, 2011 12:42
A project for ANTLR D target at sourceforge.

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.

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
SPARQL Grammar 1.1
Juergen Pfundt, Michele Mostarda, Simone Tripodi Thu Jan 5, 2012 19:19
SPARQL (pronounced "sparkle") is the query language for the Semantic Web...

PowerBuilder Powerscript
Ivan Brezina Wed Dec 21, 2011 08:30
Sybase PowerBuilder grammar

VHDL and SystemVerilog grammars
gburdell77@gmail.com Thu Dec 15, 2011 16:48
These are antlr v2 grammars.

PHP Parser
sidharth kuruvila Tue Dec 13, 2011 08:07
an antlr grammar for parsing php source files

More...
Articles
Why program by hand in five days what you could spend five years of your life automating?
Terence Parr Thu Aug 4, 2011 11:52
Slides from keynote from Code Generation 2011 conference in Cambridge,...

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

More...
Mailing List Messages
Subject: Parsing this ambiguous grammar
Jim Idle Fri, 27 Jan 2012 14:30:08 -0800

Subject: Parsing this ambiguous grammar
Gerald Gutierrez Fri, 27 Jan 2012 14:22:32 -0800

Subject: Parsing this ambiguous grammar
Jim Idle Fri, 27 Jan 2012 12:25:14 -0800

Subject: Parsing this ambiguous grammar
Gokulakannan Somasundaram Sat, 28 Jan 2012 04:21:29 +0800

More...