aboutsummaryrefslogtreecommitdiff
path: root/js/step0_repl.js
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-19 13:04:09 -0500
committerJoel Martin <github@martintribe.org>2014-04-19 13:04:09 -0500
commit86b689f3d7111a9fa13da389a30f3dfdf877d1a4 (patch)
treed72b065f9f987e291f892ceee5a8640363bfd9df /js/step0_repl.js
parent718887c3019c49fc807bc18fbd5feb975ec03c85 (diff)
downloadmal-86b689f3d7111a9fa13da389a30f3dfdf877d1a4.tar.gz
mal-86b689f3d7111a9fa13da389a30f3dfdf877d1a4.zip
All: *ARGV* and *host-language*. Misc syncing/fixes.
Diffstat (limited to 'js/step0_repl.js')
-rw-r--r--js/step0_repl.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/step0_repl.js b/js/step0_repl.js
index 1d2bbfb..c13be2d 100644
--- a/js/step0_repl.js
+++ b/js/step0_repl.js
@@ -20,6 +20,7 @@ function PRINT(exp) {
// repl
var rep = function(str) { return PRINT(EVAL(READ(str), {})); };
+// repl loop
if (typeof require === 'undefined') {
// Asynchronous browser mode
readline.rlwrap(function(line) { return rep(line); },