[antlr-interest] Need some advice which ANTLR versions should be used for my project (Target: Java or Python)

Stefan Mätje (d) Stefan.Maetje at esd-electronics.com
Fri Sep 16 05:58:48 PDT 2011


Thanks to all responders.

I'll try to use Java as a target language and see how far I get.

BTW. PEARL as input language wasn't a typo. PEARL is an acronym for
Process and Experiment Automation Realtime Language and quite different from 
PERL.

Am 15.09.2011 16:29:45 schrieb(en) The Researcher:
> Hi Stefan,
> 
> FWIW
> 
> Each of the different target languages is created and maintained by
> different people/groups. See
> http://www.antlr.org/wiki/display/ANTLR3/Code+Generation+Targets
> 
> If you check http://www.antlr.org/wiki/display/ANTLR3/Antlr3PythonTarget you
> will see "Please note that the Python target is (compared to most other
> targets) rather young. I would consider it to be in *beta state*."
> 
> Since Terence creates and maintains the Java version, the decision is
> obvious; pick the Java target.
> 
> My guess is that most of your work will be in creating a PERL grammar for
> ANTLR and doing the AST rewrites. You will probably need to write some Java
> for the  predicates but that will be a lesser of your worries. Note: I did
> not find a PERL grammar at http://www.antlr.org/grammar/list
> 
> Best Wishes, Eric




More information about the antlr-interest mailing list