Launch Scala REPL programatically?

Posted by David Crawshaw on Stack Overflow See other posts from Stack Overflow or by David Crawshaw
Published on 2010-03-16T18:02:21Z Indexed on 2010/03/16 19:21 UTC
Read the original article Hit count: 345

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about scala

Related posts about repl