mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-23 22:58:06 +11:00
68dd800bd1
This duplicated feature existed because of bootstrapping issues with LIT", but again, with careful threading, we can clean things up. We can now have a proper "Collapse OS" prompt :)
15 lines
373 B
Plaintext
15 lines
373 B
Plaintext
: CODE XCODE ;
|
|
: ['] X['] ; IMMEDIATE
|
|
: COMPILE XCOMPILE ; IMMEDIATE
|
|
: [COMPILE] X[COMPILE] ; IMMEDIATE
|
|
: DO XDO ; IMMEDIATE : LOOP XLOOP ; IMMEDIATE
|
|
: IF XIF ; IMMEDIATE : ELSE XELSE ; IMMEDIATE
|
|
: AGAIN XAGAIN ; IMMEDIATE : UNTIL XUNTIL ; IMMEDIATE
|
|
: LIT" XLIT" ; IMMEDIATE
|
|
: IMMEDIATE XIMM ;
|
|
: (entry) (xentry) ;
|
|
: CREATE XCREATE ;
|
|
: : [ ' X: , ] ;
|
|
|
|
CURRENT @ XCURRENT !
|