Marc Feeley wrote:
The runtime option -:d- will do what you want, i.e. start REPLs on stdin/stdout (and it also means that inside the REPLs current-in/output-port will refer to stdin/stdout instead of the console). Of course if you do this the REPL interaction and the program's I/O on the current-in/output-port will be mixed.
Here are a few examples which I hope will be enlightening:
Thanks Marc!