Skip to main content


Implementing the recent changes to Varvara in Oquonie, I noticed how many single-purpose labels I used merely to hop over short lengths of code, enough that having ran out of ideas for names to called them, I would default to like &skip, &ok, or &continue. The solution was to create anonymous labels, and as to be capable of nesting them, I ended up inadvertently adding lambdas to Uxntal.

Just stumbled on "Adding Lambda Expressions to #Forth"

http://www.euroforth.org/ef06/lynas-stoddart06.pdf

Too little too late.

This entry was edited (1 year ago)
in reply to Devine Lu Linvega

did you take a look at zzo38's work here? they seem to have something similar in uxn38
in reply to ⛧ esoterik ⛧

Oh! They've added support to lambdas too! Wonderful 😀

https://github.com/zzo38/uxn38/commit/feba063ba18b9af734bd791f137977713144405e

The implementation of the BUILD-STACK word in the paper linked above is about the same thing, word for word(except that we're building a symbols file) than the uxnasm/drifblim implementation.

https://git.sr.ht/~rabbits/drifblim/tree/main/item/src/drifblim.tal#L266

This entry was edited (1 year ago)

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