bin/lasp-repl in lasp-0.1.1 vs bin/lasp-repl in lasp-0.2.0
- old
+ new
@@ -3,15 +3,15 @@
require "lasp"
Lasp::load_stdlib!
trap("SIGINT") { puts "\n\nBye!"; exit! }
-puts "((( Läsp v#{Lasp::VERSION} REPL )))\n\n"
+puts "((( Läsp v#{Lasp::VERSION} REPL (ctrl+c to exit) )))\n\n"
loop do
begin
print "lasp> "
result = Lasp::execute(gets.chomp)
- puts " =>> #{result.inspect}"
+ puts " => #{result.inspect}"
rescue
- puts " **> #{$!}"
+ puts " *> #{$!}"
end
end