HCoop
/
jackhill
/
mal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crystal: add vector and hash-map, fix with-meta and error output
[jackhill/mal.git]
/
crystal
/
step1_read_print.cr
diff --git
a/crystal/step1_read_print.cr
b/crystal/step1_read_print.cr
index
f8fdc7a
..
1f3896d
100755
(executable)
--- a/
crystal/step1_read_print.cr
+++ b/
crystal/step1_read_print.cr
@@
-24,5
+24,9
@@
def rep(str)
end
while line = my_readline("user> ")
+ begin
puts rep(line)
+ rescue e
+ STDERR.puts e
+ end
end