mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-17 09:28:06 +11:00
14 lines
383 B
Plaintext
14 lines
383 B
Plaintext
( Now we have "as late as possible" stuff )
|
|
: DO COMPILE 2>R H@ ; IMMEDIATE
|
|
: LOOP COMPILE (loop) H@ - , ; IMMEDIATE
|
|
( LEAVE is implemented in low xcomp )
|
|
: LITN 32 , , ( 32 == NUMBER ) ;
|
|
|
|
( ';' can't have its name right away because, when created, it
|
|
is not an IMMEDIATE yet and will not be treated properly by
|
|
xcomp. )
|
|
: _
|
|
['] EXIT ,
|
|
R> DROP ( exit : )
|
|
; IMMEDIATE
|