mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-05 20:30:56 +11:00
17 lines
339 B
Plaintext
17 lines
339 B
Plaintext
: INTERPRET
|
|
BEGIN
|
|
WORD
|
|
(find)
|
|
NOT IF (parse) ELSE EXECUTE THEN
|
|
C<? NOT IF LIT< (ok) (find) IF EXECUTE THEN THEN
|
|
AGAIN ;
|
|
|
|
( Drop RSP until I-2 == INTERPRET. )
|
|
: EXIT!
|
|
['] INTERPRET ( I )
|
|
BEGIN ( I )
|
|
DUP ( I I )
|
|
R> DROP I 2- @ ( I I a )
|
|
= UNTIL
|
|
DROP ;
|