woua

A Lisp-syntax language that compiles to WebAssembly

Compile and run in your Web browser

Lisp syntax

Write programs in a clean, parenthesised syntax. Define functions, macros, and types with consistent, composable forms.

Compiles to WebAssembly

Every woua program compiles directly to a .wat text module, then to a binary .wasm file runnable with any WASI-compatible runtime.

Powerful macros

Variadic compile-time macros with macro-if, macro-seq, and string intrinsics. printf is implemented entirely as a woua macro.

Transparent output

woua compiles to human-readable .wat first, then to binary. Inspect the generated WebAssembly text at any time — no black-box codegen.

Dead code elimination

The compiler traces the call graph from main and only emits reachable functions. Unused library code is silently dropped — lean binaries with no extra tooling required.

Compact & AI-Friendly

Concise, regular code that’s easy to read—and easy for AI tools to analyze, refactor, and generate.