diff options
| author | Joel Martin <github@martintribe.org> | 2015-03-07 09:04:07 -0600 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2015-03-07 09:04:07 -0600 |
| commit | 10b07148ba8efec543ded60a4b7916960709ce1e (patch) | |
| tree | 43c10dbc3c6bd2035c34cabf5aca3aa08e37a2f6 /js/step0_repl.js | |
| parent | 64574360c510d644f5b8c175dbe3114f1f2d7b68 (diff) | |
| download | mal-10b07148ba8efec543ded60a4b7916960709ce1e.tar.gz mal-10b07148ba8efec543ded60a4b7916960709ce1e.zip | |
All step0: add test, fix bugs, remove step0 eval.
Diffstat (limited to 'js/step0_repl.js')
| -rw-r--r-- | js/step0_repl.js | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
