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:
5eea24f
)
Fixed bug in MCE. Now working!
author
Tim Vaughan
<tgvaughan@gmail.com>
Mon, 1 May 2017 06:19:47 +0000
(18:19 +1200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Mon, 1 May 2017 06:19:47 +0000
(18:19 +1200)
examples/metacirc.scm
patch
|
blob
|
history
diff --git
a/examples/metacirc.scm
b/examples/metacirc.scm
index
f28367b
..
170adaa
100644
(file)
--- a/
examples/metacirc.scm
+++ b/
examples/metacirc.scm
@@
-88,6
+88,13
@@
env)
'ok)
+(define (eval-definition exp env)
+ (define-variable!
+ (definition-variable exp)
+ (eval (definition-value exp) env)
+ env)
+ 'ok)
+
(define (self-evaluating? exp)
(cond ((number? exp) true)
((string? exp) true)