.. include:: crossreferences.asc .. |title| replace:: The PyPy Core .. |wp| replace:: WP04 .. |start| replace:: 0 .. |p1| replace:: PBF .. |m1| replace:: 18 .. |p2| replace:: MPI .. |m2| replace:: 9 .. |p3| replace:: DFKI .. |m3| replace:: 2 .. |p4| replace:: Logilab .. |m4| replace:: 4 .. |p5| replace:: |e| .. |m5| replace:: |e| .. |p6| replace:: |e| .. |m6| replace:: |e| .. include:: wp-toptable.asc .. include:: wp-tablebegin.asc **Objectives** Building a complete Python interpreter written in Python, using a subset of Python that avoids dynamic features which would impair the objectives of WP05_ (RPython). .. include:: wp-tableend.asc .. include:: wp-tablebegin.asc **Description of work** **Task 1** Design and implement the PyPy bytecode interpreter and build an object space library in RPython. The resulting interpreter must cover the complete Python language specification. **Task 2** Port the built-in Python library to PyPy (functions, types and modules currently implemented in C). Decide on a case-by-case basis which features are to be implemented using RPython or just general Python. **Task 3** Implement a Python parser and bytecode compiler in Python. .. include:: wp-tableend.asc .. include:: wp-tablebegin.asc **Deliverables** - D04.1 First partial Python Implementation running on top of CPython - D04.2 Complete Python implementation running on top of CPython .. include:: wp-tableend.asc .. include:: wp-tablebegin.asc **Milestones and Expected Result** - M1 A partial Python implementation that passses 75% of the official Python test suite that don't depend on extension modules. .. include:: wp-tableend.asc