From 10b07148ba8efec543ded60a4b7916960709ce1e Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sat, 7 Mar 2015 09:04:07 -0600 Subject: All step0: add test, fix bugs, remove step0 eval. --- js/step0_repl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js') diff --git a/js/step0_repl.js b/js/step0_repl.js index f9fa60e..126a436 100644 --- a/js/step0_repl.js +++ b/js/step0_repl.js @@ -1,5 +1,6 @@ if (typeof module !== 'undefined') { var readline = require('./node_readline'); + var printer = require('./printer'); } // read @@ -9,7 +10,7 @@ function READ(str) { // eval function EVAL(ast, env) { - return eval(ast); + return ast; } // print -- cgit v1.2.3