Hsh::REPL
Constructors
new
SourceInstance methods
Override to integrate auto-completion.
current_word is picked following word_delimiters.
It expects to return Tuple with:
- a title :
String - the auto-completion results :
Array(String)
default: {"", [] of String}
Override to enable expression highlighting.
default: uncolored expression
history_file
Override to indicate the Path|String|IO where the history is saved. If nil, the history is not persistent.
default: nil