Python to WebAssembly compiler for CSE 231. Based on the ChocoPy subset.
Currently supports:
- Classes (no-inheritance)
- Strings (
len
,upper
,lower
,startswith
,endswith
, slices including negative indices and steps) - 32-bit integers
- Non-nested functions
- Comments 🙃
- Booleans
- REPL
Try it here: https://suyashmahar.com/py-wasm