IRC Log - 2025-10-19 - ##forth

Channel: ##forth
Total messages: 3
Time range: 02:30:02 - 02:30:32
Most active: KipIngram (3)
02:30:02 ##forth <KipIngram> ajhidd: I did something like that. My most recent system makes heavy use of conditional return primitives (I don't even have IF ... THEN), and I implemented the whole matrix of them. It's well over 100. And one of my matrix "branching factors" was whether the word consumed all of the arguments you'd expect, or all but one (leaving the deepest). The ones that left the deepest argument had a .
02:30:04 ##forth <KipIngram> prefix. So I had 0=; to return if the top of stack is 0 and take the argument, and .0=; to do the same but leave the argument.
02:30:32 ##forth <KipIngram> It was useful to be able to compare a value to a whole string of test values and not have to DUP the value being tested over and over.