From: Tim Vaughan Date: Sun, 29 May 2016 02:08:36 +0000 (+1200) Subject: Added COMPILE. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=b1c4ba3f0b7204ee4ccb7c6f493607ab5337d5d3;p=forth.jl.git Added COMPILE. --- diff --git a/src/lib_1_basic.4th b/src/lib_1_basic.4th index 40851f3..90fad63 100644 --- a/src/lib_1_basic.4th +++ b/src/lib_1_basic.4th @@ -44,10 +44,13 @@ : SPACE BL emit ; : ' BL WORD FIND DROP ; -: [COMPILE] IMMEDIATE ' , ; : ['] IMMEDIATE LIT LIT , ' , ; +: [COMPILE] IMMEDIATE ' , ; +: COMPILE IMMEDIATE + LIT LIT , ' , LIT , , ; + : LITERAL IMMEDIATE ['] LIT , , ; : CHAR BL WORD 1+ @ ;