2020-05-12 21:08:18 -04:00
|
|
|
: ,"
|
2020-05-08 20:55:50 -04:00
|
|
|
BEGIN
|
2020-05-14 07:58:55 -04:00
|
|
|
C< DUP 34 ( ASCII " ) = IF DROP EXIT THEN C,
|
2020-05-08 20:55:50 -04:00
|
|
|
AGAIN ;
|
2020-05-24 20:50:26 -04:00
|
|
|
: LIT"
|
|
|
|
34 , ( litWord ) H@ 0 C, ,"
|
|
|
|
DUP H@ -^ 1- ( a len ) SWAP C! 0 C,
|
|
|
|
; IMMEDIATE
|
2020-05-14 07:58:55 -04:00
|
|
|
: ." [COMPILE] LIT" COMPILE (print) ; IMMEDIATE
|
2020-05-12 21:08:18 -04:00
|
|
|
: ABORT" [COMPILE] ." COMPILE ABORT ; IMMEDIATE
|