Frontends in PANINI · host C · wasm.pni · your browser
End to end
Pick a frontend. It lowers to C (Python via AST; braced languages via a documented subset). Then the same c.pni + wasm.pni the tests use. No wabt. No server.
1 SOURCEfrontend
2 HOST Clower_to_c / flatten
3 ASTc.pni
4 WATwasm.pni
5 WASMinstantiate · result
Source
Host C
WAT (PANINI.Backend.Wasm)
Result
Load the emitter once, then Lower. First load parses c.pni + wasm.pni in this page.
Notes
Sources: c.pni · wasm.pni · host.js · assembler wat2wasm.js. Hindi uses the same notebook flatten before this C. printf/stdio is not WASI here — numeric main / exported functions only.