[pypy-svn] r23596 - in pypy/dist/pypy: bin doc translator/goal

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Feb 22 16:50:48 CET 2006


Author: cfbolz
Date: Wed Feb 22 16:50:44 2006
New Revision: 23596

Added:
   pypy/dist/pypy/translator/goal/translate.py
      - copied, changed from r23583, pypy/dist/pypy/translator/goal/translate_pypy.py
Removed:
   pypy/dist/pypy/translator/goal/translate_pypy.py
Modified:
   pypy/dist/pypy/bin/dotviewer.py
   pypy/dist/pypy/doc/getting-started.txt
   pypy/dist/pypy/translator/goal/bench-cronjob.py
   pypy/dist/pypy/translator/goal/old_queries.py
   pypy/dist/pypy/translator/goal/query.py
   pypy/dist/pypy/translator/goal/targetmultiplespaces.py
   pypy/dist/pypy/translator/goal/targetpypy_stacklesstest.py
   pypy/dist/pypy/translator/goal/targetpypystandalone.py
Log:
rename translate_pypy.py to translate.py and fix all references


Modified: pypy/dist/pypy/bin/dotviewer.py
==============================================================================
--- pypy/dist/pypy/bin/dotviewer.py	(original)
+++ pypy/dist/pypy/bin/dotviewer.py	Wed Feb 22 16:50:44 2006
@@ -17,7 +17,7 @@
 
 In the first form, show the graph contained in a .dot file.
 In the other forms, connect to a graph server like
-goal/translate_pypy.
+goal/translate.py.
 ''' % (sys.argv[0], sys.argv[0], sys.argv[0])
 
 parser = optparse.OptionParser(usage=usage)

Modified: pypy/dist/pypy/doc/getting-started.txt
==============================================================================
--- pypy/dist/pypy/doc/getting-started.txt	(original)
+++ pypy/dist/pypy/doc/getting-started.txt	Wed Feb 22 16:50:44 2006
@@ -433,7 +433,7 @@
 ultimate example of source that our translation toolchain can process::
 
     cd pypy/translator/goal
-    python translate_pypy.py --run
+    python translate.py --run
 
 By default the translation process will try to use the
 `Boehm-Demers-Weiser garbage collector`_ for the translated PyPy (Use
@@ -476,8 +476,8 @@
 functions and classes. Type ``help graphs`` for a list of the new commands.
 Help is also available on each of these new commands.
 
-The ``translate_pypy`` script itself takes a number of options controlling
-what to translate and how.  See ``translate_pypy.py -h``. Some of the more
+The ``translate.py`` script itself takes a number of options controlling
+what to translate and how.  See ``translate.py -h``. Some of the more
 interesting options are:
 
    * ``--text``: don't show the flowgraph after the translation is done. This
@@ -487,11 +487,11 @@
      garbage collector`_ or our own reference counting implementation
      (as we have seen Boehm's collector is the default). 
 
-You can also use the translate_pypy.py script to try out several smaller
+You can also use the translate.py script to try out several smaller
 programs, e.g. a slightly changed version of Pystone::
 
     cd pypy/translator/goal
-    python translate_pypy.py targetrpystone
+    python translate.py targetrpystone
 
 
 .. _`translate PyPy with the thunk object space`:
@@ -504,7 +504,7 @@
 the "thunk" object space::
 
     cd pypy/translator/goal
-    python translate_pypy.py --run targetthunkstandalone
+    python translate.py --run targetthunkstandalone
 
 the examples in `lazily computed objects`_ should work in the translated
 result.

Modified: pypy/dist/pypy/translator/goal/bench-cronjob.py
==============================================================================
--- pypy/dist/pypy/translator/goal/bench-cronjob.py	(original)
+++ pypy/dist/pypy/translator/goal/bench-cronjob.py	Wed Feb 22 16:50:44 2006
@@ -82,7 +82,7 @@
         featureoptions = ''
 
     os.chdir(homedir + '/projects/pypy-dist/pypy/translator/goal')
-    os.system('/usr/local/bin/python translate_pypy.py --backend=%(backend)s%(featureoptions)s --text --batch targetpypystandalone.py 2>&1' % locals())
+    os.system('/usr/local/bin/python translate.py --backend=%(backend)s%(featureoptions)s --text --batch targetpypystandalone.py 2>&1' % locals())
 
     os.chdir(homedir + '/projects/pypy-dist')
     try:

Modified: pypy/dist/pypy/translator/goal/old_queries.py
==============================================================================
--- pypy/dist/pypy/translator/goal/old_queries.py	(original)
+++ pypy/dist/pypy/translator/goal/old_queries.py	Wed Feb 22 16:50:44 2006
@@ -1,4 +1,4 @@
-# functions to query information out of the translator and annotator from the debug prompt of translate_pypy
+# functions to query information out of the translator and annotator from the debug prompt of translate
 import types
 import re
 

Modified: pypy/dist/pypy/translator/goal/query.py
==============================================================================
--- pypy/dist/pypy/translator/goal/query.py	(original)
+++ pypy/dist/pypy/translator/goal/query.py	Wed Feb 22 16:50:44 2006
@@ -1,11 +1,11 @@
-# functions to query information out of the translator and annotator from the debug prompt of translate_pypy
+# functions to query information out of the translator and annotator from the debug prompt of translate
 import types
 import re
 
 import pypy.annotation.model as annmodel
 import pypy.objspace.flow.model as flowmodel
 
-# query used for sanity checks by translate_pypy
+# query used for sanity checks by translate
 
 def short_binding(annotator, var):
     try:

Modified: pypy/dist/pypy/translator/goal/targetmultiplespaces.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetmultiplespaces.py	(original)
+++ pypy/dist/pypy/translator/goal/targetmultiplespaces.py	Wed Feb 22 16:50:44 2006
@@ -72,7 +72,7 @@
 
     tgt_options, _ = opt_parser().parse_args(args)
 
-    translate_pypy.log_options(tgt_options, "target PyPy options in effect")
+    translate.log_options(tgt_options, "target PyPy options in effect")
 
     options.thread = tgt_options.thread
 

Modified: pypy/dist/pypy/translator/goal/targetpypy_stacklesstest.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetpypy_stacklesstest.py	(original)
+++ pypy/dist/pypy/translator/goal/targetpypy_stacklesstest.py	Wed Feb 22 16:50:44 2006
@@ -88,7 +88,7 @@
 
     tgt_options, _ = opt_parser().parse_args(args)
 
-    translate_pypy.log_options(tgt_options, "target PyPy options in effect")
+    translate.log_options(tgt_options, "target PyPy options in effect")
 
     options.thread = tgt_options.thread
 

Modified: pypy/dist/pypy/translator/goal/targetpypystandalone.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetpypystandalone.py	(original)
+++ pypy/dist/pypy/translator/goal/targetpypystandalone.py	Wed Feb 22 16:50:44 2006
@@ -67,7 +67,7 @@
 
     tgt_options, _ = opt_parser().parse_args(args)
 
-    translate_pypy.log_options(tgt_options, "target PyPy options in effect")
+    translate.log_options(tgt_options, "target PyPy options in effect")
 
     global space, w_entry_point
 



More information about the Pypy-commit mailing list