[pypy-svn] r52682 - in pypy/dist/pypy/doc: . discussion jit

arigo at codespeak.net arigo at codespeak.net
Tue Mar 18 13:50:24 CET 2008


Author: arigo
Date: Tue Mar 18 13:50:23 2008
New Revision: 52682

Added:
   pypy/dist/pypy/doc/jit/   (props changed)
   pypy/dist/pypy/doc/jit/backend.txt   (contents, props changed)
   pypy/dist/pypy/doc/jit/howto.txt
      - copied, changed from r52681, pypy/dist/pypy/doc/jit.txt
   pypy/dist/pypy/doc/jit/index.txt   (contents, props changed)
   pypy/dist/pypy/doc/jit/overview.txt   (contents, props changed)
   pypy/dist/pypy/doc/jit/rainbow.txt
      - copied, changed from r52681, pypy/dist/pypy/doc/discussion/jit-refactoring-plan.txt
   pypy/dist/pypy/doc/jit/status.txt
      - copied, changed from r52681, pypy/dist/pypy/doc/jit.txt
   pypy/dist/pypy/doc/jit/theory.txt
      - copied, changed from r52681, pypy/dist/pypy/doc/discussion/jit-draft.txt
Removed:
   pypy/dist/pypy/doc/discussion/jit-draft.txt
   pypy/dist/pypy/doc/discussion/jit-refactoring-plan.txt
   pypy/dist/pypy/doc/jit.txt
Modified:
   pypy/dist/pypy/doc/faq.txt
   pypy/dist/pypy/doc/glossary.txt
   pypy/dist/pypy/doc/index.txt
   pypy/dist/pypy/doc/redirections
   pypy/dist/pypy/doc/style.css
Log:
Create a pypy/doc/jit/ directory and shuffle files around.
No new content at this point.


Modified: pypy/dist/pypy/doc/faq.txt
==============================================================================
--- pypy/dist/pypy/doc/faq.txt	(original)
+++ pypy/dist/pypy/doc/faq.txt	Tue Mar 18 13:50:23 2008
@@ -151,7 +151,7 @@
 i.e. within 20% of recoding the function in C and compiling with ``gcc``
 without optimizations).
 
-.. _`manually enabled`: jit.html
+.. _`manually enabled`: jit/status.html
 
 
 .. _`prolog and javascript`:

Modified: pypy/dist/pypy/doc/glossary.txt
==============================================================================
--- pypy/dist/pypy/doc/glossary.txt	(original)
+++ pypy/dist/pypy/doc/glossary.txt	Tue Mar 18 13:50:23 2008
@@ -218,8 +218,8 @@
 
 .. _applevel: coding-guide.html#application-level
 .. _`target language`: getting-started.html#trying-out-the-translator
-.. _`just in time compiler`: jit.html
-.. _`the jit docs`: jit.html
+.. _`just in time compiler`: jit/index.html
+.. _`the jit docs`: jit/index.html
 .. _`type inference article on Wikipedia`: http://en.wikipedia.org/wiki/Type_inference
 .. _`annotator pass`: translation.html#the-annotation-pass
 .. _`The RPython Typer`: translation.html#the-rpython-typer

Modified: pypy/dist/pypy/doc/index.txt
==============================================================================
--- pypy/dist/pypy/doc/index.txt	(original)
+++ pypy/dist/pypy/doc/index.txt	Tue Mar 18 13:50:23 2008
@@ -337,12 +337,12 @@
 .. _`CLI backend`: cli-backend.html
 .. _`py.py`: getting-started.html#main-entry-point
 .. _`translatorshell.py`: getting-started.html#try-out-the-translator
-.. _JIT: jit.html
-.. _`JIT Generation in PyPy`: jit.html
-.. _`just-in-time compiler generator`: jit.html
-.. _`jit backends`: discussion/jit-draft.html#backends
-.. _`hint-annotator`: discussion/jit-draft.html#hint-annotator
-.. _`timeshifter`: discussion/jit-draft.html#timeshifter
+.. _JIT: jit/index.html
+.. _`JIT Generation in PyPy`: jit/index.html
+.. _`just-in-time compiler generator`: jit/index.html
+.. _`jit backends`: jit/backend.html
+.. _`hint-annotator`: jit/theory.html#hint-annotator
+.. _`timeshifter`: jit/theory.html#timeshifter
 .. _rtyper: rtyper.html
 .. _`low-level type system`: rtyper.html#low-level-type
 .. _`object-oriented type system`: rtyper.html#oo-type

Added: pypy/dist/pypy/doc/jit/backend.txt
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/doc/jit/backend.txt	Tue Mar 18 13:50:23 2008
@@ -0,0 +1,6 @@
+in-progress
+============================================================
+
+.. raw:: html
+
+    <div class="innermenu"><a href="index.html#content">JIT index</a></div>

Added: pypy/dist/pypy/doc/jit/index.txt
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/doc/jit/index.txt	Tue Mar 18 13:50:23 2008
@@ -0,0 +1,41 @@
+========================================================================
+                       JIT Compiler Generation
+========================================================================
+
+:abstract:
+
+    When PyPy is translated into an executable like ``pypy-c``, the
+    executable contains a full virtual machine that can optionally
+    include a Just-In-Time compiler.  This JIT compiler is **generated
+    automatically from the interpreter** that we wrote in RPython.
+
+    This JIT Compiler Generator can be applied on interpreters for any
+    language, as long as the interpreter itself is written in RPython
+    and contains a few hints to guide the JIT Compiler Generator.
+
+
+Content
+------------------------------------------------------------
+
+- Motivation_: introduction and rough overview
+
+- Status_: using a pypy-c with a JIT
+
+- `How-to`_: make your own JIT compilers, with examples for tiny languages
+
+- Theory_: partial evaluation
+
+- How it all works: the Rainbow_ interpreter
+
+- Machine code Backends_
+
+*(work and documentation in progress!)*
+
+------------------------------------------------------------
+
+.. _Motivation: overview.html
+.. _Status: status.html
+.. _`How-to`: howto.html
+.. _Theory: theory.html
+.. _Rainbow: rainbow.html
+.. _Backends: backend.html

Added: pypy/dist/pypy/doc/jit/overview.txt
==============================================================================
--- (empty file)
+++ pypy/dist/pypy/doc/jit/overview.txt	Tue Mar 18 13:50:23 2008
@@ -0,0 +1,7 @@
+------------------------------------------------------------------------
+in-progress
+------------------------------------------------------------------------
+
+.. raw:: html
+
+    <div class="innermenu"><a href="index.html#content">JIT index</a></div>

Modified: pypy/dist/pypy/doc/redirections
==============================================================================
--- pypy/dist/pypy/doc/redirections	(original)
+++ pypy/dist/pypy/doc/redirections	Tue Mar 18 13:50:23 2008
@@ -3,5 +3,6 @@
     'proxy.html': 'objspace-proxies.html#tproxy',
     'news.html': 'home.html',
     'contact.html': 'home.html',
+    'jit.html': 'jit/index.html',
 }
 

Modified: pypy/dist/pypy/doc/style.css
==============================================================================
--- pypy/dist/pypy/doc/style.css	(original)
+++ pypy/dist/pypy/doc/style.css	Tue Mar 18 13:50:23 2008
@@ -1089,3 +1089,7 @@
 div.abstract p.topic-title {
   font-weight: bold ;
   text-align: center }
+
+div.innermenu {
+  font: 109% Verdana, Helvetica, Arial, sans-serif;
+  float: right }



More information about the Pypy-commit mailing list