Java to Python translation

Courageous jkraska at san.rr.com
Wed Apr 3 20:37:03 EST 2002


>I need to translate a (rather voluminous 100MB) java program to python. After a
>few searches on google, apparently the best tools for this task are Lex-Yacc
>(Flex-Bison on linux). While I am working on the Lex-YACC HOWTO, I would be very
>interested in hearing of others' successful experiences/feedback at this. Any
>pointers of interest would similarily be appreciated.

I *highly* recommend ANTLR. http://www.antlr.org. It has built in support
for translators (i.e., it's not a pain in the ass to copy over comments
which you often _do_ want).

C//




More information about the Python-list mailing list