RustPython 一个用Rust编写的Python解释器-python

时间:2021-06-18 18:08:53
【文件属性】:
文件名称:RustPython 一个用Rust编写的Python解释器-python
文件大小:5.84MB
文件格式:ZIP
更新时间:2021-06-18 18:08:53
交互式解析器 RustPython 一个用Rust编写的Python解释器 RustPython 一个用 Rust 编写的 Python-3 (CPython >= 3.5.0) 解释器 :snake: :face_screaming_in_fear: :sign_of_the_horns: 。 用法查看我们在 WebAssembly 上运行的在线演示。 RustPython 需要 Rust 最新的稳定版本(例如 2020 年 5 月 24 日的 1.43.0)。 检查 Rust 版本: rustc --version 如果你想更新,rustup update stable。 要测试 RustPython,请执行以下操作: $ git clone https://github.com/RustPython/RustPython $ cd RustPython $ cargo run demo.py 你好,RustPython! 或者使用交互式 shell: $cargo run 欢迎使用 rustpython >>>>> 2+2 4 您还可以使用以下命令

网友评论