oop - what object-based shells are there? -


I am planning to write an object-oriented shell (based on Python). I already have lots of ideas but before I am going to implement it, I want to inspire me from some existing shell.

What do I basically mean by object-oriented:

  • The parameter is an array of objects but an array of objects.
  • Return value is also an object.
  • Not only stdin, stdout and stderr, but some possible number of named streams (not just a stream of bytes) of some kind.

I've read that Windows PowerShell is somewhat (based on Net). However, I am looking for some existing Linux / MacOSX shells.

Of course there is also an IPitthon but it is not actually in the form of Unix shell, i.e. the surrounding piping stuff is quite complex.

Maybe you might want to take a look at

There is an open source implementation of PowerShell for other platforms It may be useful for academic purposes and motivation Unfortunately, as far as I can see, this promising project is not being developed. .


Comments