mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 06:08:04 +11:00
11 lines
267 B
Plaintext
11 lines
267 B
Plaintext
: ,"
|
|
BEGIN
|
|
C< DUP 34 ( ASCII " ) = IF DROP EXIT THEN C,
|
|
AGAIN ;
|
|
: LIT"
|
|
34 , ( litWord ) H@ 0 C, ,"
|
|
DUP H@ -^ 1- ( a len ) SWAP C! 0 C,
|
|
; IMMEDIATE
|
|
: ." [COMPILE] LIT" COMPILE (print) ; IMMEDIATE
|
|
: ABORT" [COMPILE] ." COMPILE ABORT ; IMMEDIATE
|