The Lambda Lab
/
projects
/
forth.jl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cb12b0
)
Added COMPILE.
author
Tim Vaughan
<tgvaughan@gmail.com>
Sun, 29 May 2016 02:08:36 +0000
(14:08 +1200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Sun, 29 May 2016 02:08:36 +0000
(14:08 +1200)
src/lib_1_basic.4th
patch
|
blob
|
history
diff --git
a/src/lib_1_basic.4th
b/src/lib_1_basic.4th
index
40851f3
..
90fad63
100644
(file)
--- 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+ @ ;