aboutsummaryrefslogtreecommitdiff
path: root/js/step2_eval.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/step2_eval.js')
-rw-r--r--js/step2_eval.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/step2_eval.js b/js/step2_eval.js
index adcefe5..72b1f9c 100644
--- a/js/step2_eval.js
+++ b/js/step2_eval.js
@@ -32,7 +32,7 @@ function eval_ast(ast, env) {
}
function _EVAL(ast, env) {
- //printer.println("EVAL:", types._pr_str(ast, true));
+ //printer.println("EVAL:", printer._pr_str(ast, true));
if (!types._list_Q(ast)) {
return eval_ast(ast, env);
}
@@ -61,6 +61,7 @@ repl_env['-'] = function(a,b){return a-b;};
repl_env['*'] = function(a,b){return a*b;};
repl_env['/'] = function(a,b){return a/b;};
+// repl loop
if (typeof require === 'undefined') {
// Asynchronous browser mode
readline.rlwrap(function(line) { return rep(line); },