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 used ANTLR to build and parse custom Domain Specific Business Rule Languages...
Mukundan Agaram (Enterprise Architect at...

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

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
Unification Algorithm in F#
Eric Taucher Fri Mar 16, 2012 10:43
Robinson Unification Algorithm in F# - Learning Version

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.

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
First Order Logic Grammar
Stephan Opfer Fri May 4, 2012 11:32
A simple grammar for first order logic formulas.

PSharp - Portugol implementation
Ricardo Borges Wed May 2, 2012 21:04
Simplified scripting language using portuguese syntax for educational purposes....

C# 4.0 preprocessor, lexer, and parser
Christian Wulf Mon Apr 30, 2012 06:32
I developed a C# 4.0 lexer (incl. preprocessor) grammar and a C# 4.0 parser...

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

More...
Articles
Visual AST for ANTLR Generated Parser Output
Matthew YC So Tue Apr 24, 2012 08:56


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

More...
Mailing List Messages
Subject: connectivity to the server was down
Jim Idle Wed, 16 May 2012 10:12:45 +0800

Subject: Lexer error handling
Jim Idle Wed, 16 May 2012 10:09:21 +0800

Subject: [resend] antlr.org needs a facelift
Adam Retter Tue, 15 May 2012 21:10:14 +0100

Subject: [resend] antlr.org needs a facelift
Terence Parr Tue, 15 May 2012 11:08:32 -0700

More...