icr
icr copied to clipboard
Interactive console for Crystal programming language
When leaving the REPL using `exit`, I get an error: ``` Unhandled exception: Index out of bounds (IndexError) from ../../snap/crystal/397/share/crystal/src/indexable.cr:589:8 in '[]' from icr/src/icr/executer.cr:29:25 in 'execute' from icr/src/icr/console.cr:162:7 in 'execute'...
Currently, we're still at the `0.8.0` version even if there have been several new commits. What is the current state of ICR? Is it compatible with Crystal 1.0 yet? Cheers!
## Features - feat: support to print previous command result with `__` or `__previous_result` - feat: Preserve regular command results as serialized values and make them available to be used...
[Ameba does this](https://github.com/crystal-ameba/ameba/blob/master/shard.yml#L11-L16 ) which is pretty neat. This would allow you to put it in a project as a development_dependency, then when you run your `shards install`, you could...
Hi, I am using this cli with Amber and having the following: ``` $ icr $icr > require "./config/application.cr" $icr > Article.count ==> 0 $icr > Article.create(title: "sample one") ==>...
You know, not just re-running a file. What needs to be done?
Ruby's Pry gem has a nice `ls` method to list all object methods: https://github.com/pry/pry/wiki/State-navigation#learning-about-your-context-with-the-ls-command . It will be really helpful to have this feature in Icr.
It would be great if `icr` can list down all the functionality of a type say an integer in `icr`. The example below is taken from `IPython`
Hello there Just check if there is a possible way to implement something like this (https://github.com/c-bata/go-prompt, https://github.com/jonathanslenders/python-prompt-toolkit)
When using `IRB`, if you're writing out multi-line code, and you make a typo, you can use `ctrl-C` to sort of reset you back to normal. Take this for example:...