Permalink
Please sign in to comment.
Browse files
Run OSH under "OPyPy". pgen2 not hooked up though.
- bin/opypy-osh script that runs OSH under compiler2/byterun
("OPyPy").
- Tone down byterun logging so we don't spew to stderr.
- Track the delta for opypy-osh.
- All tests behave the same as osh, i.e. cpython-osh!
Also:
- Investigated determinism problems with compile2. I think we will
concentrate on functional tests for now.- Loading branch information...
Showing
with
119 additions
and 62 deletions.
- +9 −0 bin/opypy-osh
- +1 −1 opy/byterun/pyvm2.py
- +0 −55 opy/run.sh
- +81 −1 opy/smoke.sh
- +13 −1 sh_spec.py
- +9 −2 spec-runner.sh
- +5 −1 spec.sh
- +1 −1 tests/loop.test.sh
| @@ -0,0 +1,9 @@ | ||
| #!/bin/bash | ||
| # | ||
| # OSH running on OPyPy. OPyPy is the OPy front end with byterun. | ||
| readonly THIS_DIR=$(cd $(dirname $0) && pwd) | ||
| readonly OIL_DIR=$THIS_DIR/.. | ||
| export PYTHONPATH=$OIL_DIR/opy/_tmp/compile2 | ||
| $OIL_DIR/opy/byterun/__main__.py -c $OIL_DIR/opy/_tmp/osh-compile2/bin/oil.pyc osh "$@" |
0 comments on commit
2b331d9