mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 15:48:05 +11:00
17 lines
265 B
Plaintext
17 lines
265 B
Plaintext
|
: ,"
|
||
|
BEGIN
|
||
|
C<
|
||
|
( 34 is ASCII for " )
|
||
|
DUP 34 = IF DROP EXIT THEN C,
|
||
|
AGAIN ;
|
||
|
|
||
|
: ."
|
||
|
34 , ( 34 == litWord ) ," 0 C,
|
||
|
COMPILE (print)
|
||
|
; IMMEDIATE
|
||
|
|
||
|
: ABORT" [COMPILE] ." COMPILE ABORT ; IMMEDIATE
|
||
|
|
||
|
: (uflw) ABORT" stack underflow" ;
|
||
|
|