Java to Python translation

Bertrand Geston bergeston at yahoo.fr
Thu Apr 4 04:58:21 EST 2002


"Courageous" <jkraska at san.rr.com> wrote in message
news:b5cnaucrm55rpm8kgt0nibnd4lr43neljs at 4ax.com...
>
> >But... I would aslo suggest that if you do decide to
> >automate part of the transition, you might want to take a
> >look at ANTLR...
> >
> >   http://www.antlr.org/
>
> I recently built a whole Python lexer and parser with ANTLR.
> I played around with about a half dozen compiler-compilers
> while trying to find one that would support my needs. In my
> opinion, ANTLR is the _top_ of the pack of all the freely
> available compiler/translator generators.
>
Did you compare it with JavaCC or SableCC ? I really would like to read your
comments about that. Any link to an article comparing compiler-compilers is
welcome as well.

Many thanks in advance.

> For one thing, the lexer, parser, tree walker, and ast-
> generator are all unified into one meta language. This is
> a very, very clean implementation. It's a full suite all
> in one spot, and fully deserves all the accolades that it
> gets.
>
> C//
>






More information about the Python-list mailing list