skip to navigation
skip to content

jaspy 0.1.0dev

Python interpreter in JavaScript

Jaspy is a Python VM written entirely from scratch in JavaScript with interpreter size and coroutine support in mind. It interprets CPython 3.5 bytecode within the browser and aims to replace JavaScript as main web scripting language.

Features

  • easily extensible with native JavaScript modules (time, dom, …)
  • pluggable integer implementations (JS integers, BigInteger.js, …)
  • suspendable interpreter (coroutine and greenlet support)
  • full support for meta-classes and builtin subclassing

State

This project is still in an pre-alpha planning state. The APIs are unstable, it is untested and not ready for productive use.