From 86b689f3d7111a9fa13da389a30f3dfdf877d1a4 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sat, 19 Apr 2014 13:04:09 -0500 Subject: All: *ARGV* and *host-language*. Misc syncing/fixes. --- js/step3_env.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/step3_env.js') diff --git a/js/step3_env.js b/js/step3_env.js index 7dbefc4..b65824f 100644 --- a/js/step3_env.js +++ b/js/step3_env.js @@ -33,7 +33,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); } @@ -75,6 +75,7 @@ repl_env.set('-', function(a,b){return a-b;}); repl_env.set('*', function(a,b){return a*b;}); repl_env.set('/', function(a,b){return a/b;}); +// repl loop if (typeof require === 'undefined') { // Asynchronous browser mode readline.rlwrap(function(line) { return rep(line); }, -- cgit v1.2.3