I would like to launch a Scala Swing application from the command line, then after the application is started, drop into the Scala REPL to use as a control interface.
Ideally I would also like to pre-bind some variable names. Even better would be using a Java2D terminal emulator for the REPL, but I couldn't find anything appropriate.
Does the Scala REPL have a public API?