aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2005-07-26 08:08:45 +0000
committerArmin Rigo <arigo@tunes.org>2005-07-26 08:08:45 +0000
commitbbaa9096952080214322935c3d6abb17db430e51 (patch)
treef54caa4aea89e14006fc79fc96477cf84d410c72 /pypy/tool/option.py
parentRaise ValueError instead of AssertionError for marshal.dump(<class>) (diff)
downloadpypy-bbaa9096952080214322935c3d6abb17db430e51.tar.gz
pypy-bbaa9096952080214322935c3d6abb17db430e51.tar.bz2
pypy-bbaa9096952080214322935c3d6abb17db430e51.zip
- moved marshal to a mixed module.
- a few changes to geninterplevel to support it. - an option --compile="pyparseapp" to call the stablecompiler pure Python package at app-level (to be done!).
Diffstat (limited to 'pypy/tool/option.py')
-rw-r--r--pypy/tool/option.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pypy/tool/option.py b/pypy/tool/option.py
index 8db1c9636c..d7309b1f69 100644
--- a/pypy/tool/option.py
+++ b/pypy/tool/option.py
@@ -12,7 +12,8 @@ class Options:
uselibfile = 0
useparsermodule = "recparser" # "cpython" / "recparser" / "parser"
compiler = "pyparse" # "cpython"
- # "pyparse" pypy parser, cpython compiler
+ # "pyparse" pypy parser, cpython's compiler package
+ # "pyparseapp" same, running the compiler at app-level
# "pycomp" pypy parser and compiler (TBD)
version = "2.4" # "native" / "2.3" / "2.4"
@@ -47,7 +48,7 @@ def get_standard_options():
options.append(make_option(
'--compiler', action="store", type="string", dest="compiler",
help="select the parser/compiler to use internally",
- metavar="[cpython|pyparse]"))
+ metavar="[cpython|pyparse|pyparseapp]"))
options.append(make_option(
'--parsermodule', action="store",type="string", dest="useparsermodule",
help="select the parser module to use",