Download List

專案描述

Perthon converts Python source code to human- readable Perl 5.x source code. It makes use of Damian Conway's Parse::RecDescent for parsing, and aims to reimplement the Python language as specified in the Python Reference Manual and BNF grammar. Perthon is similar to Jython (www.jython.org), which reimplements Python on the JVM, except that Perthon works at the source code (not byte code) level. Perthon does the reverse of Bridgekeeper (http://www.crazy-compilers.com/bridgekeeper/), which attempts to solve the (much harder) problem of Perl-to-Python source code machine translation.

System Requirements

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2003-12-09 17:35
0.1

Pythonic lexing has been implemented. There is
rudimentary support for arrays/slices, hash,
floating point, string literals, long strings; the
if, continue, break, for, while, print, and assert
statements; function definitions and calls;
classes, __init__ methods, class attributes, and
construct calls; Perl's use of "&" and "$" for
identifiers; indexed targets, expression_stmts,
simple assignments, target_list assignments,
augmented assign statements, and simple
expressions.
標籤: Initial freshmeat announcement

Project Resources