« first day (3675 days earlier)      last day (105 days later) » 

9:07 AM
@rgchris Is this reply posted on the wrong tab? Looks like a description of R-e-d.
 
 
4 hours later…
1:25 PM
posted on November 22, 2020 by hostilefork

NULL's storied history has taken it from being the "true undefined" to being the "true NONE!" This is seemingly not very profound, since even languages like JavaScript distinguish "undefined" and "null". In much the same way...an undefined variable is one you haven't assigned yet. NULL is one you've set to NULL. // Chrome Console Session > asdf VM66:1 Uncaught ReferenceError

 
1:55 PM
posted on November 22, 2020 by hostilefork

I've chiseled and shaped things to the point where there's hopefully only one frame-mutation that happens during frame execution. I explain it here: "Default Values And MAKE FRAME!" I discuss something particular, which is that in the world of named voids, some of those named voids are leaking into the mechanics of implementation. Some of these are "easy to change" (like the co

 
 
5 hours later…
7:25 PM
posted on November 22, 2020 by hostilefork

The first cut at multiple return values made a multi-return output look like: func [/foo [<output> integer!]] [...] Which was expedient to try it out. But dialect-wise, I think a SET-WORD! makes more sense: func [foo: [integer!]] [...] This would take away SET-WORD! as a way of denoting locals in the frame. This was to make it easier for higher-level generators to sti

 
8:23 PM
@rgchris Well, helps to be handy with hacking the interpreter then. And also to participate in the discussions and drive them to conclusions. But in any event, I hope new mechanics will free us of the rigamarole of x: opt case [... true [try find series value] ...], and have x: case [... true [find series value] ...] get NULL and yet still work with THEN and ELSE. Fingers crossed.
Odds are looking reasonable that the mechanic will work; it means THEN and ELSE get a little weirder, but better to have them pay the tax in their implementations and expression than to make every user of control constructs pay it...if it's possible to do so.
 

« first day (3675 days earlier)      last day (105 days later) »