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


Latest version is 3.4
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

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

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

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

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

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

Looking for previous version ANTLR v2?

If you like ANTLR, check out the StringTemplate template engine for all your structured text generation needs.


Search


News
Follow @the_antlr_guy for ANTLR and related news:
    Check out Terence's blog...

    New Language Implementation Patterns available in PDF and print form!
    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
    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
    Getting started with ANTLR v3

    ANTLR Documentation

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

    Using ANTLR target languages

    Runtime API Doc

    ANTLR FAQ

    Source version tree (Fisheye)

    Programming language course lecture notes

    ANTLR-centric language glossary

    Source: hosted on antlr.org, github



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