A pointer to a converter.

Remco Gerlich scarblac at pino.selwerd.nl
Mon May 7 19:14:14 EDT 2001


Wayne <infotechsys at pivot.net> wrote in comp.lang.python:
> Can someone point me  to a software
> that will convert pearl to python. I tried
> searching yahoo , but  got no hits.

This is probably theoretically impossible.

A computer program can't even find out what another program does (for
instance, it can't decide if a program will finish on some input), let
alone write a program in another language that does the same thing.

It might be possible to write a program that simply converts an idiom in one
language to the equivalent idiom in the other language, but for that to work
the languages must be *extremely* similar - and Perl and Python aren't.

Even if it did work, the libraries aren't compatible.

-- 
Remco Gerlich



More information about the Python-list mailing list