The Lambda Lab
/
projects
/
scheme.forth.jl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d42b008
)
Fixed bug in apply.
author
Tim Vaughan
<tgvaughan@gmail.com>
Fri, 22 Jul 2016 09:15:19 +0000
(21:15 +1200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Fri, 22 Jul 2016 09:15:19 +0000
(21:15 +1200)
scheme.4th
patch
|
blob
|
history
diff --git
a/scheme.4th
b/scheme.4th
index
893b20b
..
1f2111a
100644
(file)
--- a/
scheme.4th
+++ b/
scheme.4th
@@
-20,7
+20,7
@@
include defer-is.4th
\ ------ Cons cell memory ------ {{{
-1000 constant N
+1000
0
constant N
create car-cells N allot
create car-type-cells N allot
create cdr-cells N allot
@@
-972,7
+972,7
@@
defer eval
begin
2dup cdr 2dup nil objeq? false =
while
- -2rot car over ( nextbody env exp env )
+ -2rot car
2
over ( nextbody env exp env )
eval
2drop \ discard result
2swap ( env nextbody )