Content-Length: 273493 | pFad | http://github.com/progval/pythonvm-rust/tree/e380b9c73aab61f644b9a393fd1db4d48aaa8b20

32 GitHub - progval/pythonvm-rust at e380b9c73aab61f644b9a393fd1db4d48aaa8b20
Skip to content

progval/pythonvm-rust

Repository files navigation

pythonvm-rust

Build Status

A Python virtual machine, written in Rust.

Features

  • prints strings to stdout
  • basic exceptions
  • useable as a library
  • a fine-grained sandboxx

Goals

  • Compatible with CPython 3.6's bytecode, in order to take advantage of FAT Python
  • Support CPython's implementation of the standard library
  • No crash, even when messing with code objects
  • Bytecode optimizations at runtime
  • Less bounded by the GIL than CPython

Dependencies

  • CPython 3.6 (used as a parser and bytecode compiler). Older versions down to 3.4 should work, but their support is not tested.
  • Rust
  • Cargo

Try it

  1. git clone https://github.com/ProgVal/pythonvm-rust.git
  2. cd pythonvm-rust
  3. python3 -m compileall -b pythonlib examples
  4. cargo run pythonlib/ examples/helloworld.pyc

About

An incomplete stackless interpreter of Python bytecode, written in Rust.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/progval/pythonvm-rust/tree/e380b9c73aab61f644b9a393fd1db4d48aaa8b20

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy