.ax Native WASM

Axiom code compiled directly to WebAssembly bytecode. No C. No Emscripten. Pure .ax -> WASM.

How It Works

wasm_emit.ax (1104 lines of .ax) reads .ax source, walks the AST, and emits WASM binary.

The compiler itself is written in .ax. The strange loop: .ax compiles .ax to native code.

Pipeline: .ax source → parser.ax → AST → wasm_emit.ax → .wasm binary → browser

Output

Click "Run" to execute .ax compiled to WASM...

Source

Loading...