rustpython 0.5.0

A python interpreter written in rust.
Documentation
1
2
3
4
5
6
7
8
9
10
use rustpython::{InterpreterBuilder, InterpreterBuilderExt};

pub fn main() -> std::process::ExitCode {
    let mut config = InterpreterBuilder::new();
    #[cfg(feature = "stdlib")]
    {
        config = config.init_stdlib();
    }
    rustpython::run(config)
}