aboutsummaryrefslogtreecommitdiff
path: root/ruby/step0_repl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/step0_repl.rb')
-rw-r--r--ruby/step0_repl.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/step0_repl.rb b/ruby/step0_repl.rb
index 21d534a..9c03cfa 100644
--- a/ruby/step0_repl.rb
+++ b/ruby/step0_repl.rb
@@ -21,6 +21,7 @@ def REP(str)
return PRINT(EVAL(READ(str), {}))
end
+# repl loop
while line = _readline("user> ")
puts REP(line)
end