suyashmahar / py-wasm

Compile python to webassembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PY-WASM

Python to WebAssembly compiler for CSE 231. Based on the ChocoPy subset.

Currently supports:

  1. Classes (no-inheritance)
  2. Strings (len, upper, lower, startswith, endswith, slices including negative indices and steps)
  3. 32-bit integers
  4. Non-nested functions
  5. Comments 🙃
  6. Booleans
  7. REPL

Try it here: https://suyashmahar.com/py-wasm

About

Compile python to webassembly


Languages

Language:TypeScript 92.3%Language:Python 3.6%Language:CSS 2.1%Language:HTML 1.5%Language:JavaScript 0.5%