min icon indicating copy to clipboard operation
min copied to clipboard

Feature Request for REPL

Open zenon opened this issue 5 years ago • 1 comments

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.

zenon avatar Jan 28 '20 06:01 zenon

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

h3rald avatar Jan 28 '20 12:01 h3rald