[Chicago] Python alternatives to ANTLR or JavaCC
Steven Githens
swgithen at mtu.edu
Mon Mar 9 04:07:36 CET 2009
I've never actually used it to target more than one parsed language at a
time, but I've used PyParsing for a few small interpreters and it was
pretty easy to get up and running with. I'm using it with Jython, and
switched to it after trying both JavaCC and Antlr.
http://pyparsing.wikispaces.com/
-s
Garrett Smith wrote:
> If you needed to write a code generator to target a very, very wide
> range of languages using an IDL, what would you use?
>
> Adding support for new languages should be fairly easy. I.e. you
> shouldn't need 5 years experience writing lexers and compilers to
> be productive.
>
> ANTLR is an obvious choice, but the dependency on Java presents, IMO,
> fairly high level friction across a lot of platforms.
>
> Garrett
> _______________________________________________
> Chicago mailing list
> Chicago at python.org
> http://mail.python.org/mailman/listinfo/chicago
>
More information about the Chicago
mailing list