Grab your data and have a stack (or a bag if your feel like mixing it up)! The Catjam page is live
Grab your data and have a stack (or a bag if your feel like mixing it up)! The Catjam page is live
There is something thrilling about having a little concurrent programming language.
Continuing to explore Rejoice. A new discovery, a very clean 3-way comparison:
[eq]/[x^y y^x]
[gt]/[x^y y]
[lt]/[y x gt^none none^gt]
[]/[x^x y^y]
Apparently there is a minecraft magic mod that uses a symbol-based stack-based magic casting system
https://www.youtube.com/watch?v=vJzgC7SxF7g
Mulling over something that's been bothering me with Gilded: how to make object extensible from the core based around dynamically scoped quotations.
I recalled that Io had a big old loop-up table of methods bound to a field (there more to it, but that was core to constructing prototypes in the C API).
So I can bind the quotation of methods to a dynamic variable.
: {point-methods} {
{ dup 'get = } { pop @ }
{ dup 'set = } { pop =@ }
{ dup 'mag = } { pop mag@ }
{ dup 'move = } { pop move@ }
} ;
: [point]
{point-methods} [ 'methods @ cond ] {
'x 'y 'methods
} bind ;
Day 16: Gilded is born, it also kinda dies today. It's a bit to big of an idea. Also, immediately hit a hitch with the dynamic scoping: if all quotations push a new dynamic scope, they scopes become useless as quotations nest!
Fixed that with transparent quotations, but the language is to big and a mess to integrate into MOLD.
https://www.sheeeeeeeep.art/december-adventure-2025.html#day-16