Home | Download | ANTLRWorks | Wiki | About ANTLR | Feedback | Support | Bugs | v2

Join us for ANTLR 2009 workshop
Latest version is 3.1.3
Download now! »

Download
Terence Parr What is ANTLR?
ANTLR, ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions containing actions in a variety of target languages. ANTLR provides excellent support for tree construction, tree walking, translation, error recovery, and error reporting. There are currently about 5,000 ANTLR source downloads a month.

ANTLR has a sophisticated grammar development environment called ANTLRWorks, written by Jean Bovet.

Terence Parr is the maniac behind ANTLR and has been working on language tools since 1989. He is a professor of computer science at the University of San Francisco.

More...

Testimonials

Kudos
Guido van Rossum
I'm actually really liking ANTLR! I have a pretty darn good velocity with...

Turning PHP into a functional PL
Jeffrey M. Barber
Antlr v3 is awesome. I used Antlr v2 for several projects, but my latest...

You Used Ruby to Write WHAT?!
Zed Shaw
"...using ANTLR, without much fuss I can prototype an entire new language...

Regarding The Definitive ANTLR Reference book
Gevik Babakhani
Before I got this book, I had to hack my way through various examples and...

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

Looking for previous version ANTLR v2?

If you like ANTLR, check out the StringTemplate template engine.


Search


News

Join us for ANTLR 2009 workshop

News feed has moved to wiki.

   ANTLR news...

   Terence's blog...

New Language Design Patterns available in beta!
Learn to build configuration file readers, data readers, model-driven code generators, source-to-source translators, source analyzers, and interpreters. You don't need a background in computer science--ANTLR creator Terence Parr demystifies language implementation by breaking it down into the most common design patterns. Pattern by pattern, you'll learn the key skills you need to implement your own computer languages.

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
Getting started with ANTLR v3

ANTLR Documentation

The Definitive ANTLR Reference: Building domain-specific languages (PDF available).

Using ANTLR target languages

Runtime API Doc

Source/version tree (Fisheye)

Continuous build system (Hudson)

ANTLR FAQ

Programming language course lecture notes

ANTLR-centric language glossary

Grammars
TranslateCIM
Pete Siemsen Thu Jun 25, 2009 09:36
TranslateCIM is an ANTLR 3 translator that translates CIM (the DMTF's Common...

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

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
Subject: Lexer options in composite grammar
Terence Parr Fri, 3 Jul 2009 11:00:03 -0700

Subject: Ambiguous grammar or Antlr?
Terence Parr Fri, 3 Jul 2009 09:39:25 -0700

Subject: Lexer options in composite grammar
Sebastian Zarnekow Fri, 3 Jul 2009 15:59:25 +0200

Subject: Ambiguous grammar or Antlr?
Gavin Lambert Fri, 03 Jul 2009 22:52:02 +1200

More...