.. include:: crossreferences.asc .. |title| replace:: The PyPy Translation .. |wp| replace:: WP05 .. |start| replace:: 0 .. |p1| replace:: STRAKT .. |m1| replace:: 18 .. |p2| replace:: MPI .. |m2| replace:: 9 .. |p3| replace:: USH .. |m3| replace:: 9 .. |p4| replace:: PBF .. |m4| replace:: 3 .. |p5| replace:: |e| .. |m5| replace:: |e| .. |p6| replace:: |e| .. |m6| replace:: |e| .. include:: wp-toptable.asc .. include:: wp-tablebegin.asc **Objectives** Analysis and translation of the PyPy core (WP04_) into efficient low-level code (C, Pyrex, Java, others). Providing a Runtime Library for the translated versions of PyPy. .. include:: wp-tableend.asc .. include:: wp-tablebegin.asc **Description of work** **Task 1** Create a code analysis tool for a subset of the Python language (RPython). Coordinate the definition of RPython with WP04_, being the implementation language of the core. **Task 2** Produce a tool chain, capable of extracting the RPython byte code from the core, translating it into low-level code (C, ...), and compiling it. Use the data gathered in Task 1 to drive the translation process. **Task 3** In order to give a working environment to the translated RPython program, build the low-level-specific runtime components of PyPy. For the C PyPy runtime, important parts can be directly re-used from CPython. .. include:: wp-tableend.asc .. include:: wp-tablebegin.asc **Deliverables** - D05.1 Tool chain for translating and compiling arbitrary RPython programs - D05.2 A compiled, self-contained version of PyPy .. include:: wp-tableend.asc .. include:: wp-tablebegin.asc **Milestones and Expected Result** - Complete implementation of Python, conforming to the language definition and passing all relevant[*]_ tests of the official Python test suite. .. [*] CPython contains some tests that depend on implementation details. The exact line between a language feature and an implementation detail might at times be hard to draw precisely, but in all cases this only concerns a minorily of the tests (less than 10%). .. include:: wp-tableend.asc