Create initial emulator and hello world demo

This commit is contained in:
2026-02-23 17:37:30 +00:00
commit d3e2407f3b
9 changed files with 300 additions and 0 deletions

6
boot.js Normal file
View File

@@ -0,0 +1,6 @@
self.onmessage = async (e) => {
const exports = { emu: { mem: e.data } };
const mod = await WebAssembly.instantiateStreaming(
fetch('wipforth.wasm'), exports)
mod.instance.exports.reset();
};