Permalink
Please sign in to comment.
Browse files
Full OPyPy chain is now working!
- opy_main.py compile now uses pgen2 + compiler2. I reapplied the fixes
from compiler/ (to be deleted). For example:
- 'symbol' module replacement. The compiler2 module depended on the
'symbol' stdlib module. But we want to get that information from
the grammar, as extracted by pgen2.
- make sure that 'import parser' is never used.
- Change bin/opypy-osh to point at the the opy-compiled version in
'_tmp/osh-opy'
Test results:
- Unit tests passing on _tmp/osh-opy
- Spec tests passing with bin/opypy-osh
- Change loop test to be more robust toward .swp files- Loading branch information...
Showing
with
272 additions
and 173 deletions.
- +3 −2 bin/opypy-osh
- +6 −1 opy/common.sh
- +1 −1 opy/compiler2/__init__.py
- +23 −38 opy/compiler2/pycodegen.py
- +152 −108 opy/compiler2/transformer.py
- +75 −19 opy/opy_main.py
- +8 −1 opy/run.sh
- +2 −1 opy/smoke.sh
- +2 −2 tests/loop.test.sh
Oops, something went wrong.
0 comments on commit
9e3bd70