[Chicago] Python alternatives to ANTLR or JavaCC

David Durham david.durham.jr at gmail.com
Fri Mar 13 21:52:05 CET 2009


On Sat, Mar 7, 2009 at 1:54 PM, Garrett Smith <g at rrett.us.com> 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.

Groovy Builders:

http://www.ibm.com/developerworks/java/library/j-pg04125/

-Dave


More information about the Chicago mailing list