Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

perthon

by thraxil (Prior)
on Dec 12, 2003 at 15:59 UTC ( #314337=perlnews: print w/ replies, xml ) Need Help??

if you've got python code that you need to convert to perl, Perthon could come in handy.

ok, honestly, i'm not really sure what niche it's supposed to fill, but if you're familiar with Parse::RecDescent grammars and want to learn python, reading the source code for perthon could be a good start...

Comment on perthon
Re: perthon
by hanenkamp (Pilgrim) on Dec 12, 2003 at 17:21 UTC

    We have a good natured Python-versus-Perl rivalry in my office. So, I decided to fire of this email to my coworkers:

    Posted today on PerlMonks was an interesting tool. Eventually, I hope you Python monkeys will come to your senses and turn to Perl for sanity. To ease such transition, see the Perthon project:
    http://perthon.sourceforge.net
    Now, your Python code can be reborn as the Perl it always should have been.

    Really though, I've always thought the idea of language-to-language translators was interesting even if they're not often useful.

Re: perthon
by zentara (Archbishop) on Dec 12, 2003 at 17:28 UTC
    I'm just a casual observer of Perl6 and parrot development; but isn't it one of the stated goals of parrot to be the underlying engine for Perl and Python, and possibly other languages? That should make translating easy.
      Or more probably, simply unnecessary. (Indeed, Parrot is intended to run a lot more than Perl - not just Python, also Ruby and many (if not most) other "agile" languages.)

      Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlnews [id://314337]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-08-20 06:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (105 votes), past polls