Last active
August 29, 2015 14:14
-
-
Save epitron/4a67602ee0e69c5f1e66 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'readline' | |
while line = Readline.readline("crystal> ") | |
line = %{puts "=> \#{(#{line}).inspect}"} | |
system("crystal", "eval", line) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment