Integrated the Uxntal opcode reference into uxn.wasm. Now every opcode implementation has documentation and examples. https://github.com/remko/uxn.wasm/blob/main/src/uxn.wat #uxn
uxn.wasm/src/uxn.wat at main · remko/uxn.wasm
WebAssembly implementation of the Uxn virtual machine - remko/uxn.wasmGitHub
Devine Lu Linvega
in reply to Remko Tronçon • • •Remko Tronçon
in reply to Devine Lu Linvega • • •@neauoire No, I don't think there is much point in the wasm context (there's no repl, and it's very low-level). At best, you could put it in DWARF debug info so you can see it in your browser debug console while stepping.
I could use the same script to dump the documentation in a machine-readable form (e.g. a JSON) instead of dumping it in comments, though, so if you ever want to integrate this in a repl ...
Devine Lu Linvega
in reply to Remko Tronçon • • •