[pypy-svn] r18163 - in pypy/dist/pypy: interpreter tool translator/goal

ac at codespeak.net ac at codespeak.net
Tue Oct 4 20:45:02 CEST 2005


Author: ac
Date: Tue Oct  4 20:45:01 2005
New Revision: 18163

Modified:
   pypy/dist/pypy/interpreter/baseobjspace.py
   pypy/dist/pypy/tool/option.py
   pypy/dist/pypy/translator/goal/targetpypymain.py
   pypy/dist/pypy/translator/goal/targetpypystandalone.py
Log:
Switch to using astcompiler as default compiler.

Modified: pypy/dist/pypy/interpreter/baseobjspace.py
==============================================================================
--- pypy/dist/pypy/interpreter/baseobjspace.py	(original)
+++ pypy/dist/pypy/interpreter/baseobjspace.py	Tue Oct  4 20:45:01 2005
@@ -113,7 +113,7 @@
                  nofaking=False, 
                  uselibfile=False,
                  parser="pypy", 
-                 compiler="stable",
+                 compiler="ast",
                  translating=False,
                  geninterp=True,
                  **kw

Modified: pypy/dist/pypy/tool/option.py
==============================================================================
--- pypy/dist/pypy/tool/option.py	(original)
+++ pypy/dist/pypy/tool/option.py	Tue Oct  4 20:45:01 2005
@@ -12,7 +12,7 @@
     uselibfile = 0
     nofaking = 0
     parser = "pypy" # "cpython" / "pypy" 
-    compiler = "stable" 
+    compiler = "ast" 
          # "stable" uses interpreter/pyparser & interpreter/stablecompiler 
          # "_stable" uses intepreter/pyparser & lib/_stablecompiler 
          # "ast" uses interpreter/pyparser & interpreter/astcompiler.py 

Modified: pypy/dist/pypy/translator/goal/targetpypymain.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetpypymain.py	(original)
+++ pypy/dist/pypy/translator/goal/targetpypymain.py	Tue Oct  4 20:45:01 2005
@@ -59,7 +59,7 @@
     # disable translation of the whole of classobjinterp.py
     StdObjSpace.setup_old_style_classes = lambda self: None
     space = StdObjSpace(nofaking=True,
-                        compiler="_stable", # lib/_stablecompiler
+                        compiler="ast", # interpreter/astcompiler
                         translating=True,
                         #usemodules=['marshal', '_sre'],
                         geninterp=geninterp)

Modified: pypy/dist/pypy/translator/goal/targetpypystandalone.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetpypystandalone.py	(original)
+++ pypy/dist/pypy/translator/goal/targetpypystandalone.py	Tue Oct  4 20:45:01 2005
@@ -65,7 +65,7 @@
     else:
         usemodules = ['thread']
     space = StdObjSpace(nofaking=True,
-                        compiler="_stable", # lib/_stablecompiler
+                        compiler="ast", # interpreter/astcompiler
                         translating=True,
                         usemodules=usemodules,
                         geninterp=geninterp)



More information about the Pypy-commit mailing list