Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight


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...

Replies are listed 'Best First'.
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:
    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?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2021-10-17 23:19 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (72 votes). Check out past polls.