Swift REPL History

Another related bug report:

And some more related threads.

It seems like the REPL doesn't get very much attention. It's been really broken for more than a year (and I mean basic functionality like history and code completion, on macOS), so it's almost unusable, which is a pity. I used it quite a lot before it was this broken.