[ PLAYGROUND ]
Run DEXA in the browser
main.dxa
Click Run to execute. If the compiler WASM is not built, run locally (see below).
Compiler WASM not loaded. Build it with: cd compiler-wasm && wasm-pack build --target web --out-dir ../website/public/wasm then refresh.
Compiler: WASM ready.
[ RUN LOCALLY ]
Run DEXA from the repo with the CLI. Prerequisites: Rust (rustc, cargo).
Run a .dxa file:
cd compiler
cargo run -- path/to/file.dxa Build the browser WASM (for this playground):
cd compiler-wasm
wasm-pack build --target web --out-dir ../website/public/wasm Then refresh the playground; the Run button will use the built WASM.