HCoop
/
jackhill
/
mal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
All: *ARGV* and *host-language*. Misc syncing/fixes.
[jackhill/mal.git]
/
ruby
/
step3_env.rb
diff --git
a/ruby/step3_env.rb
b/ruby/step3_env.rb
index
88811f0
..
17126c5
100644
(file)
--- a/
ruby/step3_env.rb
+++ b/
ruby/step3_env.rb
@@
-67,6
+67,7
@@
repl_env.set(:-, lambda {|a,b| a - b})
repl_env.set(:*, lambda {|a,b| a * b})
repl_env.set(:/, lambda {|a,b| a / b})
+# repl loop
while line = _readline("user> ")
begin
puts REP[line]