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/