4 ms·
Sadly for CollapseOS' users, this Forth implementation doesn't have ".S".
by anthk 6y ago
Sadly for CollapseOS' users, this Forth implementation doesn't have ".S".
- sigjuice 6y agoI came across this implementation of .S a couple of days ago (Starting-FORTH.pdf, page 50). : .S CR 'S S0 @ 2- DO I @ . -2 +LOOP ; I'm not sure if this could be adapted to work on CollapseOS. For starters, I can't quite figure out what 'S is. S0 is the (non-standard) stack pointer according to https://www.forth.com/starting-forth/9-forth-execution/ https://www.forth.com/starting-forth/9-forth-execution/ . The rest of it appears to be standard Forth, but I'm not sure how much of it is actually implemented.
- anthk 6y agoHeh, thanks, I just was in the 14th page reviewing it, I forgot about that :D. Also, 4th implements that with "anscore.4th" I think. EDIT: Neither 'S is implemented in Collapseos.
- deleted 6y ago[deleted]