The Lambda Lab
/
projects
/
scheme.forth.jl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
eatspaces now eats comments
[scheme.forth.jl.git]
/
defer-is.4th
diff --git
a/defer-is.4th
b/defer-is.4th
index
bf3225a
..
1b171b6
100644
(file)
--- a/
defer-is.4th
+++ b/
defer-is.4th
@@
-1,4
+1,4
@@
-\
Add w
ords supporting deferred execution
+\
W
ords supporting deferred execution
: abort-defer
." Tried to execute undefined deferred word." cr abort ;
: abort-defer
." Tried to execute undefined deferred word." cr abort ;
@@
-26,3
+26,17
@@
hide abort-defer
['] lit , , ['] defer! ,
then
;
['] lit , , ['] defer! ,
then
;
+
+: :noname
+ here current @ 1+ @ ,
+ current @ 1+ !
+ 0 ,
+ here docol ,
+ [compile] ] ;
+
+
+\ Need this for tail call optimization
+
+: goto ( cfa -- )
+ R> drop execute ;
+