To have the Motherf language written in Rust and compiled in WASM so that it is truly embeddable.
You need to have wasm-pack
installed.
npm run compile
npx http-server -o
So far I have:
- Basic BF (not Motherf) interpreter written in Rust
- Interpreter compiled in WASM
- Loaded WASM into JS
- Program in BF computed in WASM and result logged to browser
- Protection from the endless loops