From: Tim Vaughan Date: Mon, 1 May 2017 06:19:47 +0000 (+1200) Subject: Fixed bug in MCE. Now working! X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=72afc958cd27b43b8b535a28b49493f55d186983;p=scheme.forth.jl.git Fixed bug in MCE. Now working! --- diff --git a/examples/metacirc.scm b/examples/metacirc.scm index f28367b..170adaa 100644 --- 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)