
This duplicated feature existed because of bootstrapping issues with LIT", but again, with careful threading, we can clean things up. We can now have a proper "Collapse OS" prompt :)
11 lines
221 B
Plaintext
11 lines
221 B
Plaintext
: (wnf) LIT" (print)" FIND DROP EXECUTE
|
|
LIT" word not found" ERR ;
|
|
: (parse) ( a -- n )
|
|
_pc IF EXIT THEN
|
|
_ph IF EXIT THEN
|
|
_pb IF EXIT THEN
|
|
_pd IF EXIT THEN
|
|
( nothing works )
|
|
(wnf)
|
|
;
|