Converting perl to python available?
wayne at tbnets.com
Sat Oct 27 15:30:31 CEST 2001
Ouch, that was close. It's just that I have a program that's 74 pages
printed and it's actually lean and mean as far as coding goes. I guess
it's time to go back to the guts and gore and recode it.
> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Gerhard Haring
> Sent: Saturday, October 27, 2001 7:04 AM
> To: python-list at python.org
> Subject: Re: Converting perl to python available?
> On Fri, Oct 26, 2001 at 10:37:35PM -0400, Wayne Ringling wrote:
> > I have a few programs that I would love to convert to python
> but don't want
> > to spend the time to recode them completly.
> import os
> > Is there a project that is working on a conversion program yet?
> Seriously, has there ever been a translator from one language to another
> that did not produce an absolute mess? I imagine it will only work
> reasonably well for similiar languages, like Pascal -> Ada. But Perl and
> Python are very different. Perl regexes would have to be translated to
> Python library calls, for example ... What point would there be to
> having translated code that is a greater mess than the original Perl
> code <ducks>?
> mail: gerhard <at> bigfoot <dot> de registered Linux user #64239
> web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0
> public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0
> reduce(lambda x,y:x+y,map(lambda
More information about the Python-list