[Pharo-dev] REPL (was: about miniimage)

David T. Lewis lewis at mail.msen.com
Mon Nov 25 15:35:35 EST 2013


>
> Tangentially can anyone point me to a headless image with a REPL for use
> in testing Spur?
>

Hi Eliot,

This is probably much too heavyweight for what you have in mind, but if
you are able to load OSProcess and CommandShell into the test image, you
can then evaluate "ExternalCommandShell start", and talk to the image on
stdin/stdout from your terminal session.

You'll need to start the image in the foreground (no "&") so that you are
connected to it from your terminal. The command evaluator accepts simple
Smalltalk expressions and various unix-ish inputs.

Dave






More information about the Pharo-dev mailing list