mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 11:38:07 +11:00
adea75e50a
I'm pretty happy about how lightweight the implementation turns out to be.
14 lines
401 B
Plaintext
14 lines
401 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 : LITN XLITN ;
|
|
: IMMEDIATE XIMM ;
|
|
: (entry) (xentry) ; : CREATE XCREATE ; : :** X:** ;
|
|
: : [ ' X: , ] ;
|
|
|
|
CURRENT @ XCURRENT !
|