Difference between revisions of "ANTLR"
From eplmediawiki
(→Examples) |
|||
Line 2: | Line 2: | ||
== Examples == | == Examples == | ||
− | * version 2.0: ([http:// | + | * version 2.0: ([http://eplmediawiki.di.uminho.pt/uploads/Lavanda_ANTLR.w Lavanda.w] [[Media:Lavanda_ANTLR.pdf Lavanda.pdf]]) |
''Contribution by:'' [mailto:digobaptista@gmail.com| Rodrigo Baptista], at January 2006 | ''Contribution by:'' [mailto:digobaptista@gmail.com| Rodrigo Baptista], at January 2006 | ||
*version 3.0: | *version 3.0: | ||
− | #[http:// | + | #[http://eplmediawiki.di.uminho.pt/uploads/Lavanda1.g Lavanda1.g] --- An approach using global variables; |
− | #[http:// | + | #[http://eplmediawiki.di.uminho.pt/uploads/Lavanda2.g Lavanda2.g] --- An approach using attributes. |
''Contribution by:'' [mailto:fonseka@gmail.com| Rúben Fonseca], at January 2007 | ''Contribution by:'' [mailto:fonseka@gmail.com| Rúben Fonseca], at January 2007 | ||
== Original Page == | == Original Page == | ||
− | [http://www.antlr.org/ | + | [http://www.antlr.org/ Link] |
[[Category:Compiler Generators]] | [[Category:Compiler Generators]] |
Revision as of 23:29, 10 December 2012
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 support for tree construction, tree walking, and translation.
Examples
- version 2.0: (Lavanda.w Media:Lavanda_ANTLR.pdf Lavanda.pdf)
Contribution by: Rodrigo Baptista, at January 2006
- version 3.0:
- Lavanda1.g --- An approach using global variables;
- Lavanda2.g --- An approach using attributes.
Contribution by: Rúben Fonseca, at January 2007