Earlier quoted context omitted.
> UNIX shells suck. Javascript sucks. How could one implement a UNIX shell in Javascript and have it not suck? What do you mean by "UNIX shells suck"? I'm fairly sure most people would consider UNIX shells to be one of the bigger revolutions in computing.
Because the shell has a lot of room for improvement. Try powershell for a bit. Look at its design, look at the things it can do that the unix shell has problems with. Everything's an object. Instead of passing lines of text, you're passing objects, with properties, types, etc. This becomes important because of Library files are first class citizens. Because the shell is string based, you have to wrap everything up in…
Hybrids like ipython shell are quite interesting for personal use though.