Java to Python translation

Andrew McNamara andrewm at object-craft.com.au
Wed Apr 3 06:05:18 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 think for a project like that, even a success would be disastrous.
[...]

Indeed.

But I bet a complete re-write in python would less than 10MB, and take
less than a tenth of the time of the original project... 8-)

The suggestion of using Jython would be good one - subsystems can be
rewritten and tested as time and resources allow.

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/




More information about the Python-list mailing list