in reply to Perl 5 Optimizing Compiler, Part 3: I Have A Dream
-
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
In Section
Meditations