Java to Python translation

Paul Rubin phr-n2002a at nightsong.com
Wed Apr 3 20:58:42 EST 2002


vio <vmilitaru at sympatico.ca> writes:
> 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.

Why do you want to do this?  I think if you do it, you'll wish you hadn't.
An automatic translation really isn't what you want.  The languages
are just too different.  Parsing is the least of your problems.

What is the application, if you can say?



More information about the Python-list mailing list