1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-12-04 19:48:08 +11:00
collapseos/blk/382
Virgil Dupras 98d23bc59b wip
2020-05-24 23:05:05 -04:00

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