2020-05-14 08:33:06 -04:00
|
|
|
( 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 )
|
2020-05-13 10:14:23 -04:00
|
|
|
: LITN 32 , , ( 32 == NUMBER ) ;
|
2020-05-14 09:45:42 -04:00
|
|
|
: _ ( : will get its name at the very end )
|
|
|
|
(entry)
|
|
|
|
[ 14 ( == compiledWord ) LITN ] C,
|
|
|
|
BEGIN
|
|
|
|
WORD (find)
|
|
|
|
IF ( is word ) DUP IMMED? IF EXECUTE ELSE , THEN
|
|
|
|
ELSE ( maybe number ) (parse) LITN THEN
|
|
|
|
AGAIN ;
|