aboutsummaryrefslogtreecommitdiff
path: root/lua/step0_repl.lua
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-03-07 09:04:07 -0600
committerJoel Martin <github@martintribe.org>2015-03-07 09:04:07 -0600
commit10b07148ba8efec543ded60a4b7916960709ce1e (patch)
tree43c10dbc3c6bd2035c34cabf5aca3aa08e37a2f6 /lua/step0_repl.lua
parent64574360c510d644f5b8c175dbe3114f1f2d7b68 (diff)
downloadmal-10b07148ba8efec543ded60a4b7916960709ce1e.tar.gz
mal-10b07148ba8efec543ded60a4b7916960709ce1e.zip
All step0: add test, fix bugs, remove step0 eval.
Diffstat (limited to 'lua/step0_repl.lua')
-rwxr-xr-xlua/step0_repl.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/step0_repl.lua b/lua/step0_repl.lua
index 24584d2..bb082a5 100755
--- a/lua/step0_repl.lua
+++ b/lua/step0_repl.lua
@@ -18,6 +18,10 @@ function rep(str)
return PRINT(EVAL(READ(str),""))
end
+if #arg > 0 and arg[1] == "--raw" then
+ readline.raw = true
+end
+
while true do
line = readline.readline("user> ")
if not line then break end