lib/lisp/repl.rb in lisp-1.0.6 vs lib/lisp/repl.rb in lisp-1.1.0

- old
+ new

@@ -6,19 +6,15 @@ trap("SIGINT") { throw :exit } puts "ctrl-c to exit" catch(:exit) do loop do puts begin - eval input.readline + eval Coolline.new.readline rescue Exception => e e.message end end end - end - - def self.input - Coolline.new end end if __FILE__ == $0 Lisp.repl