Feb. 25, 2009
11:23 p.m.
I would say that a command like "ls" is not a method. It's an object (instance of a sublass of "Script" or "Command").
You want, for example, inherit things like command line parsing, standard options (e.g. --help) and things liket that. A command like ls is far too complex to be just one method.
could also be a trait. But I understand what you're saying. Entering 'ls' will actually be translated into a 'ls executeInContext: currentContext' or something. currentContext will then be aware of the current path. Looks like to be an exciting project! Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.