mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-30 21:28:05 +11:00
e6bac985fa
Finally got rid of the XPACKed core and managed to cross-compile all core words, which greatly simplifies the bootstrapping process.
10 lines
264 B
Plaintext
10 lines
264 B
Plaintext
: BEGIN H@ ; IMMEDIATE
|
|
: AGAIN COMPILE (br) H@ - , ; IMMEDIATE
|
|
: UNTIL COMPILE (?br) H@ - , ; IMMEDIATE
|
|
: [ INTERPRET ; IMMEDIATE
|
|
: ] R> DROP ;
|
|
: LIT< WORD 34 , SCPY 0 C, ; IMMEDIATE
|
|
: LITA 36 , , ;
|
|
: COMPILE ' LITA ['] , , ; IMMEDIATE
|
|
: [COMPILE] ' , ; IMMEDIATE
|