forked from Rust-related/RustPython
a2520d0b40446279e1bd825b66cc3212834101da
RustPython
A Python Interpreter written in Rust 🐍 😱 🤘.
Usage
To test RustPython, do the following:
git clone https://github.com/RustPython/RustPython
cd RustPython
cargo run my_script.py
Or use pip to install extra modules:
cargo run -m pip install requests
Code organization
The files in the top level directory are from windelbouwman/rspython which contains an implementation of the parser and vm in src/
An alternative implementation of python virtual machine that are compatible with CPython parser are from shinglyu/RustPython and is located in the VM/ folder.
We are in the process of merging the two implementation to form a single implementation.
Community
Chat with us on gitter.
Credit
The initial work was based on windelbouwman/rspython and shinglyu/RustPython
Languages
Rust
84.5%
Python
14.5%
JavaScript
0.7%
EJS
0.1%
CSS
0.1%