1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-14 18:18:06 +11:00
collapseos/blk/382
Virgil Dupras 04335fc40a wip
2020-05-25 20:28:30 -04:00

11 lines
262 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!
; IMMEDIATE
: ." [COMPILE] LIT" COMPILE (print) ; IMMEDIATE
: ABORT" [COMPILE] ." COMPILE ABORT ; IMMEDIATE