Posix compliant Mojo Shell?
Will Mojo have a shell like Python? If yes will it be Posix compliant?
I was wondering if I can replace Bash or Zsh or Powershell on my computer with Mojo's speedy shell?
It would be amazing if that's the case.
1 Reply
Most shells spend upwards of 90% of their time inside of kernel code unless they have built in facilities for doing number crunching.
I think you’re describing the python REPL, and Mojo has a similar REPL. REPLs are not POSIX compliant because there isn’t a good way to make it so that you can evaluate Mojo code and be posix compliant, and the goal of a REPL is to do quick evaluation of Mojo code to do a quick calculation or play with a concept.