plasma-umass / Ninia

Python interpreter in JavaScript
Other
20 stars 8 forks source link

Investigate using PyPy's bytecode compiler #33

Open jvilk opened 9 years ago

jvilk commented 9 years ago

PyPy has a bytecode compiler that targets a version of the Python 2.7 bytecode.

We use the same compact bytecode format as CPython 2.7, with minor differences in the bytecode set.

It's written in rpython, so once Ninia is decently compliant, we could ship it compiled with Ninia to support eval and friends.