mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-05 18:08:44 +10:00
9 lines
273 B
Plaintext
9 lines
273 B
Plaintext
: LIT< COMPILE (s) WORD DUP C@ 1+ MOVE, ; IMMEDIATE
|
|
: BEGIN H@ ; IMMEDIATE
|
|
: AGAIN COMPILE (br) H@ - _bchk , ; IMMEDIATE
|
|
: UNTIL COMPILE (?br) H@ - _bchk , ; IMMEDIATE
|
|
: [ INTERPRET ; IMMEDIATE
|
|
: ] R> DROP ;
|
|
: COMPILE ' LITN ['] , , ; IMMEDIATE
|
|
: [COMPILE] ' , ; IMMEDIATE
|