Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
go ahead... be a heretic
 
PerlMonks  

Re: Perl 5 Optimizing Compiler, Part 3: I Have A Dream

by flexvault (Vicar)
on Aug 23, 2012 at 16:19 UTC ( #989347=note: print w/ replies, xml ) Need Help??


in reply to Perl 5 Optimizing Compiler, Part 3: I Have A Dream

Will_the_Chill,

    If Perlito's documentation is right, and it has most of a Python 2.6 backend, then Perlito already has

    1) the start of a Perl 5 parser
    2) the start of code to output Python
    3) a runtime library for what it supports (preferably written in Perl 5 itself)

Just for clarification ( don't have a clue what Python is? ), if 1) and 2) are true above, why do you need 3)?

If I read this correctly, after 2) you have a Perl5 script coverted to a Python 2.6 script, so does Python 2.6 have a backend compiler?

I just don't get it yet...

Interesting!

UPDATE: Do you/we want to go this route?

    32. Python compiler package

    Deprecated since version 2.6: The compiler package has been removed in Python 3.

    The Python compiler package is a tool for analyzing Python source code and generating Python bytecode. The compiler contains libraries to generate an abstract syntax tree from Python source code and to generate Python bytecode from the tree. . . .

"Well done is better than well said." - Benjamin Franklin


Comment on Re: Perl 5 Optimizing Compiler, Part 3: I Have A Dream
Re^2: Perl 5 Optimizing Compiler, Part 3: I Have A Dream
by Will_the_Chill (Pilgrim) on Aug 23, 2012 at 19:05 UTC

      Will_the_Chill,

      I read the article and it has some very interesting concepts and information. I think the use of 'RPython' name is unfortunate but I can understand why.

      Regards...Ed

      "Well done is better than well said." - Benjamin Franklin

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2014-04-16 12:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (425 votes), past polls