Simple Crystal REPL (crepl)
Forked version of "Simple Ruby repl" to make an even simpler crystal repl :D
Read the associated blog post for more information: http://jpsilvashy.com/posts/build-a-simple-ruby-repl.html
Installation
Install it as: $ gem install crystal-repl
Usage
The whole gem is essentially a single binary,
creplThus use it ascrepl. The limitation of this repl is that every line you type is independant from the others. Thus if you want to run multiple lines, you should concatenate them with;
WRONG puts 1 puts 2
RIGHT puts 1; puts 2
Contributing
- Fork it ( https://github.com/ktaragorn/crystal-repl/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request