Re: Convert Perl to Python
pyperl - Perl for Python This is a Python extension module that makes it possible to embed Perl interpreter(s) in any Python program. It can be used to invoke arbitrary Perl code, load any Perl modules and make calls directly into Perl functions. The Perl code invoked can call back into Python as it see fit. http://wiki.python.org/moin/PyPerl At least, a pacific coexistence between Python and Perl. -- http://mail.python.org/mailman/listinfo/python-list
Re: Convert Perl to Python
Marc 'BlackJack' Rintsch a écrit : In [EMAIL PROTECTED], Χρυσάνθη Αϊναλή wrote: How can I convert a perl script to Python? Look what the Perl script does and then rewrite it in Python. Automatic translations between programming languages, if possible, usually result in code that is not supposed to be read by human beings. Every language has its idioms and a literal translation looks very odd to native speakers of the target language. and might be quite inefficient too... -- http://mail.python.org/mailman/listinfo/python-list
Re: Convert Perl to Python
In [EMAIL PROTECTED], Χρυσάνθη Αϊναλή wrote: How can I convert a perl script to Python? Look what the Perl script does and then rewrite it in Python. Automatic translations between programming languages, if possible, usually result in code that is not supposed to be read by human beings. Every language has its idioms and a literal translation looks very odd to native speakers of the target language. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list
Re: Convert Perl to Python
Marc 'BlackJack' Rintsch wrote: In [EMAIL PROTECTED], Χρυσάνθη Αϊναλή wrote: How can I convert a perl script to Python? Look what the Perl script does and then rewrite it in Python. Automatic translations between programming languages, if possible, usually result in code that is not supposed to be read by human beings. Every language has its idioms and a literal translation looks very odd to native speakers of the target language. Ciao, Marc 'BlackJack' Rintsch Either that or write a perl interpreter in python ;) -- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ -- http://mail.python.org/mailman/listinfo/python-list
Re: Convert Perl to Python
http://www.crazy-compilers.com/bridgekeeper/ ?? wrote: How can I convert a perl script to Python? Thank you! -- http://mail.python.org/mailman/listinfo/python-list
Re: Convert Perl to Python
Emilio Sañudo [EMAIL PROTECTED] wrote: ?? wrote: How can I convert a perl script to Python? http://www.crazy-compilers.com/bridgekeeper/ Very interesting until this bit :- The bad news: Unfortunatly, there is no way to 'try out' bridgekeeper. It's simply not available for puchasing. The good news:But we can offer you consultancy for this conversion (where we will use bridgekeeper as a mighty tool). If you are interested in hireing me for a project, please drop me a note I've done quite a lot of pl-py conversions by hand. It is a bit tedious but a good editor with macros will let you fly through the job. I used emacs. -- Nick Craig-Wood [EMAIL PROTECTED] -- http://www.craig-wood.com/nick -- http://mail.python.org/mailman/listinfo/python-list