Documentation
¶
Rendered for js/wasm
Overview ¶
Command ceewasm exposes the engine to a browser so the playground runs the real thing. Compiling the Go engine to WebAssembly is the point: a JavaScript re-implementation would be a second engine, and a second engine drifts from the first -- which for a project whose whole claim is determinism would be a self-inflicted wound. What the page runs is the same code that runs in a service.
Every entry point takes and returns JSON strings. That keeps the bridge dumb, and it means the browser sees exactly the shapes the Go API produces.
Click to show internal directories.
Click to hide internal directories.