[pypy-commit] pypy improve-docs: Replace outdated figure.
Manuel Jacob
noreply at buildbot.pypy.org
Sun Jul 27 22:12:42 CEST 2014
Author: Manuel Jacob
Branch: improve-docs
Changeset: r72579:a14b0250404e
Date: 2014-07-27 22:12 +0200
http://bitbucket.org/pypy/pypy/changeset/a14b0250404e/
Log: Replace outdated figure.
diff --git a/rpython/doc/translation.rst b/rpython/doc/translation.rst
--- a/rpython/doc/translation.rst
+++ b/rpython/doc/translation.rst
@@ -635,11 +635,35 @@
As should be clear by now, the translation toolchain of PyPy is a flexible
and complicated beast, formed from many separate components.
-The following image summarizes the various parts of the toolchain as of the
-0.9 release, with the default translation to C highlighted:
+.. digraph:: translation
-.. image:: _static/pypy-translation-0.9.png
- :align: center
+ graph [fontname = "Sans-Serif", size="6.00"]
+ node [fontname = "Sans-Serif"]
+ edge [fontname = "Sans-Serif"]
+
+ subgraph legend {
+ "Input or Output" [shape=ellipse, style=filled]
+ "Transformation Step" [shape=box, style="rounded,filled"]
+ // Invisible egde to make sure they are placed vertically
+ "Input or Output" -> "Transformation Step" [style=invis]
+ }
+
+ "Input Program" [shape=ellipse]
+ "Flow Analysis" [shape=box, style=rounded]
+ "Annotator" [shape=box, style=rounded]
+ "RTyper" [shape=box, style=rounded]
+ "Backend Optimizations (optional)" [shape=box, style=rounded]
+ "Exception Transformer" [shape=box, style=rounded]
+ "GC Transformer" [shape=box, style=rounded]
+ "GenC" [shape=box, style=rounded]
+ "ANSI C code" [shape=ellipse]
+
+ "Input Program" -> "Flow Analysis" -> "Annotator" -> "RTyper"
+ -> "Backend Optimizations (optional)" -> "Exception Transformer"
+ -> "GC Transformer"
+ "RTyper" -> "Exception Transformer" [style=dotted]
+ "GC Transformer" -> "GenC" -> "ANSI C code"
+ // "GC Transformer" -> "GenLLVM" -> "LLVM IR"
A detail that has not yet been emphasized is the interaction of the
various components. It makes for a nice presentation to say that
More information about the pypy-commit
mailing list