A Python interpreter written in Rust
pip install byteplay
Given a python file test.py
python compile_code.py test.py > test.bytecode
cd RustPython
cargo run ../test.bytecode
- Native types
- Control flow
- assert
- Structural types (list, tuple, object)
- Strings
- Function calls
- Modules import
- Generators