crystal: add vector and hash-map, fix with-meta and error output
[jackhill/mal.git] / crystal / step1_read_print.cr
index f8fdc7a..1f3896d 100755 (executable)
@@ -24,5 +24,9 @@ def rep(str)
 end
 
 while line = my_readline("user> ")
+  begin
     puts rep(line)
+  rescue e
+    STDERR.puts e
+  end
 end