|Welcome to the Monastery|
Re: Perl 5 Optimizing Compiler, Part 3: I Have A Dreamby flexvault (Parson)
|on Aug 23, 2012 at 16:19 UTC||Need Help??|
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...
UPDATE: Do you/we want to go this route?
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