sound interesting thanks for the pointer On Feb 25, 2009, at 10:09 PM, Michael van der Gulik wrote:
On Thu, Feb 26, 2009 at 9:26 AM, Alexandre Bergel <alexandre@bergel.eu> wrote:
please try it out and let me know what you would expect from a real Smalltalk scripting environment.
Something that would really push me in using Coral is an intelligent prompt. A list of the things the prompt should do: - crawling into the history of typed commands using up and down key arrow - tab completion (classes and method name) - colored output - Ctl-D to quit - Keybinds: * Ctlr-A beginning of the line * Ctrl-E end of the line * Alt- -> / Alt- <- to jump words
I modified REPLServer to do all of the above except for CTRL-d, colour and Alt-word skipping. I originally made it so that I could do stuff that breaks Morphic then still be able to use and recover the image.
REPLServer uses telnet but can be modified to use other input/output mechanisms such as stdin/stdout or Display/EventSensor.
REPLServer is loadable in Squeak 3.9, 3.10 using the Packages Universe, or http://www.squeaksource.com/SecureSqueak (I should really put it in its own project at some stage). Its documentation is available as "online help" from the CLI.
Gulik.
-- http://gulik.pbwiki.com/ _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project