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
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.