[pypy-svn] rev 1540 - pypy/trunk/doc/funding
tismer at codespeak.net
tismer at codespeak.net
Fri Oct 3 13:20:51 CEST 2003
Author: tismer
Date: Fri Oct 3 13:20:51 2003
New Revision: 1540
Added:
pypy/trunk/doc/funding/B6.7.wp30_translation.txt (contents, props changed)
- copied, changed from rev 1530, pypy/trunk/doc/funding/B6.7.wp30_compiler.txt
Removed:
pypy/trunk/doc/funding/B6.7.wp30_compiler.txt
Modified:
pypy/trunk/doc/funding/B6.4_workpackage_list.txt
Log:
added time estimates and start/Stop
Modified: pypy/trunk/doc/funding/B6.4_workpackage_list.txt
==============================================================================
--- pypy/trunk/doc/funding/B6.4_workpackage_list.txt (original)
+++ pypy/trunk/doc/funding/B6.4_workpackage_list.txt Fri Oct 3 13:20:51 2003
@@ -15,27 +15,27 @@
===== ===================================================== ===== ==== ==== ==== ====
|wpn| Workpackage title |lcn| |pm| |sm| |em| |dn|
===== ===================================================== ===== ==== ==== ==== ====
-WP10_ Coordination and Management 18
+WP10_ Coordination and Management 24 0 24
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP20_ The PyPy Core
+WP20_ The PyPy Core 36 0 9
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP30_ The PyPy Translation
+WP30_ The PyPy Translation 33 0 9
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP44_ Dynamic Optimisations
+WP44_ Dynamic Optimisations 36 9 18
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP43_ Translator Optimisations
+WP43_ Translator Optimisations 27 9 18
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP42_ Core Optimisations
+WP42_ Core Optimisations 24 9 24
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP49_ Language Research and Extension
+WP49_ Language Research and Extension NC? 9 24
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP50_ Validation of PyPy
+WP50_ Validation of PyPy 27 18 24
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP59_ Integration and Configuration
+WP59_ Integration and Configuration 27 18 24
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP80_ Synchronisation with Standard Python 6
+WP80_ Synchronisation with Standard Python 6 0 24
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP60_ Project Documentation and Dissemination 25
+WP60_ Project Documentation and Dissemination 24 0 24
----- ----------------------------------------------------- ----- ---- ---- ---- ----
-WP70_ Project Infrastructure and Tools
+WP70_ Project Infrastructure and Tools 24 0 24
===== ===================================================== ===== ==== ==== ==== ====
Deleted: /pypy/trunk/doc/funding/B6.7.wp30_compiler.txt
==============================================================================
--- /pypy/trunk/doc/funding/B6.7.wp30_compiler.txt Fri Oct 3 13:20:51 2003
+++ (empty file)
@@ -1,46 +0,0 @@
-.. include:: crossreferences.asc
-
-.. |title| replace:: The PyPy Compiler
-.. |wp| replace:: WP30
-.. |start| replace:: 0
-.. |p1| replace:: |e|
-.. |m1| replace:: |e|
-.. |p2| replace:: |e|
-.. |m2| replace:: |e|
-.. |p3| replace:: |e|
-.. |m3| replace:: |e|
-.. |p4| replace:: |e|
-.. |m4| replace:: |e|
-.. |p5| replace:: |e|
-.. |m5| replace:: |e|
-.. |p6| replace:: |e|
-.. |m6| replace:: |e|
-
-.. include:: wp-toptable.asc
-
-.. include:: wp-tablebegin.asc
-
-**Objectives**
-
-Building the translator and Bootstrapping PyPy.
-
-.. include:: wp-tableend.asc
-.. include:: wp-tablebegin.asc
-
-**Description of work**
-
-This working package consists of the tasks WP31_ WP32_ WP33_.
-
-.. include:: wp-tableend.asc
-.. include:: wp-tablebegin.asc
-
-**Deliverables**
-
-.. include:: wp-tableend.asc
-.. include:: wp-tablebegin.asc
-
-**Milestones and Expected Result**
-
-- M2
-
-.. include:: wp-tableend.asc
Copied: pypy/trunk/doc/funding/B6.7.wp30_translation.txt (from rev 1530, pypy/trunk/doc/funding/B6.7.wp30_compiler.txt)
==============================================================================
--- pypy/trunk/doc/funding/B6.7.wp30_compiler.txt (original)
+++ pypy/trunk/doc/funding/B6.7.wp30_translation.txt Fri Oct 3 13:20:51 2003
@@ -1,6 +1,6 @@
.. include:: crossreferences.asc
-.. |title| replace:: The PyPy Compiler
+.. |title| replace:: The PyPy Translation
.. |wp| replace:: WP30
.. |start| replace:: 0
.. |p1| replace:: |e|
@@ -22,14 +22,64 @@
**Objectives**
-Building the translator and Bootstrapping PyPy.
+Analysis and translation of the PyPy core (WP20_) 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**
-This working package consists of the tasks WP31_ WP32_ WP33_.
+*Part a): Code Analysis*
+
+- Analyse code to produce the relevant typing information.
+- Investigate whether we can use the annotation object space
+ only or if additional AST-based control flow analysis is needed.
+- Give a formal definition of RPython.
+
+*Part b): Code Production*
+
+- Compare different low-level environments that
+ we could target (C, Pyrex, others?). Select at least
+ one suitable target.
+- Produce low-level code out of the data gathered in Part a).
+- Again investigate how this is best done (AST-guided translation or
+ reverse-engeneering of the low-level control flow gathered by the
+ annotation object space).
+- Provide some measure for the efficiency of the generated
+ code, in comparison to Standard Python.
+
+Note that this task can actually start earlier than M1, but
+finally becomes dependent from it.
+
+
+**Part a): Specific Analysis and Redesign**
+
+- Investigate the particular problems that the
+ global translation of PyPy is going to raise.
+- Enhance and redesign parts of PyPy as needed
+ to give best support to the translation of RPython.
+- Re-iterate this until we agree to have reached
+ an optimum solution.
+
+
+In order to give a working environment to the translated RPython
+program, we need to build the low-level-specific **run-time**
+components of PyPy.
+
+- Design the object layout and implement it.
+- Decide about memory management and implement it.
+- Consider threading support and implement it. Make sure
+ that the other components are thread-aware.
+- Design and implement an efficient multimethod dispatch.
+
+The target language is not yet decided on. We might go different
+paths at the same time.
+If producing C code is a target, important
+parts can be directly re-used from CPython.
+
.. include:: wp-tableend.asc
.. include:: wp-tablebegin.asc
@@ -41,6 +91,10 @@
**Milestones and Expected Result**
-- M2
+- DL???: Tool for Analysis of restricted Python Programs
+- DL???: Passing all applicable elements of the standard test suite.
+
+DL??? Runtime Library for PyPy
+DL??? Passing all applicable elements of the standard test suite.
.. include:: wp-tableend.asc
More information about the Pypy-commit
mailing list