Email or username:

Password:

Forgot your password?
Remko Tronçon

Integrated the Uxntal opcode reference into uxn.wasm. Now every opcode implementation has documentation and examples. github.com/remko/uxn.wasm/blob #uxn

3 comments
Devine Lu Linvega

@remko That's really nice, is there a way to query the documentation in wasm the same way you would in CL?

Remko Tronçon

@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

@remko okok, I was just curious : ) It's a nice addition nontheless!

Go Up