Waspy

A Python to WebAssembly compiler written in Rust

Waspy translates Python functions into WebAssembly binaries. The compiler supports arithmetic operations, control flow (if/else, while loops), multiple functions, and an expanded type system including integers, floats, booleans, and strings with full string operations support.

Compilation Pipeline

[Python Source Code] → Parse & Analyze → [IR] → Generate & Optimize → [WebAssembly Binary]

Key Features

cargo install waspy