assignment 3 evalutor preload
[lambda.git] / lambda_evaluator.mdwn
index 37908ab..4a5b9dc 100644 (file)
@@ -85,7 +85,7 @@ Object.prototype.error = function (message, t) {
 //                     string = expr.to_string() + "\n\n~~>\n\n";
                        string = '';
                        eta = document.getElementById('ETA').checked;
 //                     string = expr.to_string() + "\n\n~~>\n\n";
                        string = '';
                        eta = document.getElementById('ETA').checked;
-                       string = string + reduce(expr, eta, 2).to_string();
+                       string = string + reduce(expr, eta, false).to_string();
         } catch (e) {
             string = JSON.stringify(e, ['name', 'message', 'from', 'to', 'key',
                     'value', 'arity', 'first', 'second', 'third', 'fourth'], 4);
         } catch (e) {
             string = JSON.stringify(e, ['name', 'message', 'from', 'to', 'key',
                     'value', 'arity', 'first', 'second', 'third', 'fourth'], 4);