Skip to main content


Well. I'll write tests probably tomorrow and on the plane but that's a reasonably complete #uxn implementation in #rust https://git.arrdem.com/arrdem/uxn/src/branch/trunk/src/vm.rs. Don't even get me started on keep mode.
#Rust #uxn
in reply to Reid D. M.

For keep mode, one way that's less hard to handle it is by using a copy of the stack pointer for your POP primitive only for 1 evaluation

ex: https://git.sr.ht/~rabbits/beetbug/tree/main/item/src/emulator.tal#L71
in reply to Devine Lu Linvega

@neauoire I'm familiar and will probably do something like that today, it's just awkward to pull off given Rust's ownership/correctness semantics.

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.