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 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

Python的词法已得到执行。数组是有基本的支持/片,散,浮点,字符串,长字符串,如果继续,休息,因为,虽然,打印,并维护报表;函数定义和调用;类,的__init__方法,类属性,和建造电话; Perl的使用“&”和“$标识符”;索引目标,expression_stmts,简单的任务,target_list任务,增强分配报表以及简单的表达式。
标签: Initial freshmeat announcement
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.

Project Resources