X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=blobdiff_plain;f=src%2Flib_1_basic.4th;h=a5bb701d44396297c729c2e234546038dc6d7fea;hb=ef54433308b352a75aeb6026da1795495d61860c;hp=00b200d940eab5b0c38a3aa443bbaac6efe92c79;hpb=3c35d5caec5303e84c5de9dde74759f38280a3d3;p=forth.jl.git diff --git a/src/lib_1_basic.4th b/src/lib_1_basic.4th index 00b200d..a5bb701 100644 --- a/src/lib_1_basic.4th +++ b/src/lib_1_basic.4th @@ -64,14 +64,14 @@ ['] LIT , , ; -\ LFA of most recent definition -: LATEST - CURRENT @ ; +\ Convert vocabulary CFA to link addr it contains +: VOCAB>LATEST + 1+ @ +; \ Compile in recursive call to current word : RECURSE IMMEDIATE - LATEST @ \ LATEST points to the word being compiled at the moment + CURRENT @ VOCAB>LATEST LINK> \ get the codeword , \ compile it ; -