The Lambda Lab
/
projects
/
forth.jl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Broken draft of vocab implementation.
[forth.jl.git]
/
src
/
lib_1_basic.4th
diff --git
a/src/lib_1_basic.4th
b/src/lib_1_basic.4th
index
90fad63
..
dc8c584
100644
(file)
--- a/
src/lib_1_basic.4th
+++ b/
src/lib_1_basic.4th
@@
-59,9
+59,12
@@
['] LIT , ,
;
+: LATEST
+ CURRENT @ ;
+
: RECURSE IMMEDIATE
LATEST @ \ LATEST points to the word being compiled at the moment
-
>CFA
\ get the codeword
+
LFA>CFA
\ get the codeword
, \ compile it
;