min
min copied to clipboard
Feature Request for REPL
The REPL currently assumes that a complete expression has been entered when you press ENTER, or input a line feed; and it gives an error otherwise. This prohibits me from pasting multi line expressions (as I have them in my files) into the REPL, e.g.
{ 1 :uno 2 :due 3 :tres 4 :quattro }
In the REPL of Julia, e.g., I can enter an expression line by line, it recognizes when the expression is done. Navigation in the REPL (cursor key UP) brings me back to the complete expression, so I can change it as a whole.
For min this would need the REPL to recognise quotations and dictionaries, and nested of the same.
This would be cool.
Nice. And agreed, it's needed, but it's potentially a very big feature for nimline, the simple readline/linenoise alternative I am using for the min REPL.
See h3rald/nimline#12