mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-05 17:48:46 +10:00
This is the first commit I do entirely in VE. It's a habit I'm planning on taking as it helps a lot to find usability issues.
17 lines
289 B
Plaintext
17 lines
289 B
Plaintext
: LIT< WORD 34 , DUP C@ 1+ MOVE, ; IMMEDIATE
|
|
: BEGIN H@ ; IMMEDIATE
|
|
: AGAIN COMPILE (br) H@ - _bchk , ; IMMEDIATE
|
|
: UNTIL COMPILE (?br) H@ - _bchk , ; IMMEDIATE
|
|
: [ INTERPRET ; IMMEDIATE
|
|
: ] R> DROP ;
|
|
: LITA 36 , , ;
|
|
: COMPILE ' LITA ['] , , ; IMMEDIATE
|
|
: [COMPILE] ' , ; IMMEDIATE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|