mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-06 03:40:54 +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" ;
|
||
|
|