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.
What is ANTLR?
"ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees. From http://www.antlr.org
Since ANTLR is not commercial software, it is not required and does not maintain backward compatibility with previous major versions and even between some minor versions.
On January 24th 2013, the www.antlr.org address was changed from pointing at site for ANTLR version 3 (www.antlr3.org) to ANTLR version 4 (www.antlr4.org). So questions and answers that used www.antlr.org were correct for ANTLR 3.x before this date. The links should be updated to www.antlr3.org for ANTLR 3.x or www.antlr4.org for ATNLR 4.x.
The current release version is AntlrWorks 2.0 which works with ANTLR 4.x
- AntlrWorks 1.0 which works with ANTLR 3.x
Useful ANTLR links
- ANTLR Homepage
- ANTLRWorks: The ANTLR GUI Development Environment
- ANTLR Wiki
- Scott Stanchfield's video tutorials
- Search legacy ANTLR forum
- ANTLR Google Groups - For in-depth discussions.
Code at Git
Antlr can most easily be installed through its NuGet package.