4 ms·
I 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 coul
by sigjuice 5y ago
I 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 5y 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 5y ago[deleted]