3 ms·
I am on openSUSE, and I just realized I can install Crystal from the RPM repository (well, duh! I should have thought of that a lot sooner...), so I now have no
by krylon 8y ago
I am on openSUSE, and I just realized I can install Crystal from the RPM repository (well, duh! I should have thought of that a lot sooner...), so I now have no excuse left to play around with it a little. I also happen to be on vacation right now, so I have plenty of time on my hands. =D
Now the only thing that bothers me is the lack of a REPL. It comes with a web-based playground which is pretty nice, but still not quite the same. Is there any chance Crystal does have a true REPL which I just managed to miss? (If not, it's not a dealbreaker - Go doesn't have a REPL, either[0]. But it still would be nice.)
[0] I know, I know, there are third-party REPLs like gore, but by the time I found out about them, my need for one had diminished a lot.
- woodruffw 8y agoThere's the semi-official ICR[1]. [1]: https://github.com/crystal-community/icr https://github.com/crystal-community/icr
- deleted 8y ago[deleted]
- sam0x17 8y agoIf you are using amber you can also do `amber exec "code here"` and it will execute the code within your amber environment and return the result.