so given a short x on the working stack, it takes a short y from the return stack, puts it on the working stack, and JMPs to the place in memory x refers to?
can you explain how this is like a lambda? I don't really get it
@june Sure, so it grabs the quoted annonymous function, puts it on the stack, and jumps to the end of that definition(so it doesn't run it.), After that, you can use that pointer in a map/filter/reduce function like a normal routine pointer.
@june There's no facilities in uxntal to declare inline anything, like an array or an anonym function, so I do it by hand, grabbing the end tail of the function, and then jumping to it.
juniper
in reply to Devine Lu Linvega • • •Content warning: uxn questions
so given a short x on the working stack, it takes a short y from the return stack, puts it on the working stack, and JMPs to the place in memory x refers to?
can you explain how this is like a lambda? I don't really get it
Devine Lu Linvega
in reply to juniper • • •Content warning: uxn questions
Devine Lu Linvega
in reply to Devine Lu Linvega • • •Content warning: uxn questions