Get the latest tech news
Homegrown Closures for Uxn
closures for uxn at least, kind of... For a week or so now, I've been writing niënor, a "lispy environment for uxn".
Niënor is just a compiler and a macroexpander that takes in scheme-like code and spits out uxn roms. This article describes my homegrown method of creating lexically scoped closures in this environment. When ignoring lexical scope lambdas are really simple to implement if we can already compile named functions.
Or read this on Hacker News