1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 01:28:06 +11:00
collapseos/blk/437
Virgil Dupras b17bd4dca0 wip
2020-05-14 08:33:06 -04:00

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