1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 03:38:05 +11:00
collapseos/blk/446

13 lines
296 B
Plaintext
Raw Normal View History

2020-05-13 23:11:57 +10:00
( Drop RSP until I-2 == INTERPRET. )
: EXIT!
['] INTERPRET ( I )
BEGIN ( I )
DUP ( I I )
R> DROP I 2- @ ( I I a )
= UNTIL
DROP
;
: (ok) SPC ." ok" NL ;
: (uflw) ABORT" stack underflow" ;
: (wnf) (print) SPC ABORT" word not found" ;