aboutsummaryrefslogtreecommitdiff
path: root/ruby/step2_eval.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ruby/step2_eval.rb')
-rw-r--r--ruby/step2_eval.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby/step2_eval.rb b/ruby/step2_eval.rb
index 1454d8c..50a135d 100644
--- a/ruby/step2_eval.rb
+++ b/ruby/step2_eval.rb
@@ -55,6 +55,7 @@ repl_env[:-] = lambda {|a,b| a - b}
repl_env[:*] = lambda {|a,b| a * b}
repl_env[:/] = lambda {|a,b| a / b}
+# repl loop
while line = _readline("user> ")
begin
puts REP[line]