GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - playXE/RustPython: A Python Interpreter written in Rust

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

497 Commits
497 Commits

Folders and files

NameName
Last commit message
Last commit date
Lib
Lib
 
 
docs
docs
 
 
parser
parser
 
 
py_code_object
py_code_object
 
 
src
src
 
 
tests
tests
 
 
vm
vm
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
demo.py
demo.py
 
 
demo_closures.py
demo_closures.py
 
 

Repository files navigation

RustPython

A Python Interpreter written in Rust 🐍 😱 🤘.

Build Status License: MIT

Usage

To test RustPython, do the following:

$ git clone https://github.com/RustPython/RustPython
$ cd RustPython
$ cargo run demo.py
Hello, RustPython!

Or use the interactive shell:

$ cargo run
Welcome to rustpython
>>>>> 2+2
4

Goals

  • Full python environment entirely in Rust (not CPython bindings)
  • A clean implementation without compatibility hacks

Code organization

  • parser: python lexing, parsing and ast
  • vm: python virtual machine
  • src: using the other subcrates to bring rustpython to life.
  • docs: documentation (work in progress)
  • py_code_object: CPython bytecode to rustpython bytecode convertor (work in progress)
  • tests: integration test snippets

Community

Chat with us on gitter.

Credit

The initial work was based on windelbouwman/rspython and shinglyu/RustPython

Links

These are some useful links to related projects:

  • https://github.com/ProgVal/pythonvm-rust
  • https://github.com/shinglyu/RustPython
  • https://github.com/windelbouwman/rspython

About

A Python Interpreter written in Rust

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.