I am planning to write an object-oriented shell (based on Python). I have many ideas already. But before I am going to implement it, I want to inspire me by some existing shell.
What I basically mean by object-oriented:
- Parameters are not just an array of strings but an array of objects.
- The return value is also an object.
- There is not just stdin, stdout and stderr but any possible number of named streams which can be of certain types (not just a stream of bytes).
I have read that the Windows PowerShell is somewhat like that (based on .Net). Though I am searching for some existing Linux/MacOSX shells.
Of course there is also IPython but it is not really intended as a Unix shell, i.e. piping stuff around is quite complicated.