On 25.02.2009, at 21:26, Alexandre Bergel 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
Microsoft's OO shell (I forgot the name. And it changed multiple times) is quite cool. It shows how typical Shell things fit into OO nicely. e.g. dir | sort would communicate via a pipe, but and OO one, that is, objects describing files, not text would be exchanged. And, they had a cool framework for making these commands. Your script inherits from the general superclass all the cool stuff, e.g. command line parsing and things like that. Smalltalk would be very powerfull as an OO shell... Marcus -- Marcus Denker -- denker@acm.org http://www.marcusdenker.de