https://nixpulvis.com/ramblings/2018-10-15-building-a-shell-...
https://nixpulvis.com/ramblings/2018-10-15-building-a-shell-...
I really like the idea of syntax highlighting before the user presses enter.
Any reason you are writing your own posix parser and readline implementation, rather than using existing Rust crates?
As for the POSIX parser specifically, I love grammars, and want to support multiple, and building one in LALRPOP is t too bad. Also I looked at conch-parser, but didn't want to use its AST, and decided to go this route.
I have been using the termion crate, and may have another PR to contribute. I have somewhat ambitious goals for the readline like library though.
ANSI, and the other standards are large and somewhat unwieldy though, and there are times it would be nice to do away with it all.
As for features, there's a number of things that you could argue for being implemented in either place. One feature I feel is a good fit for the shell for example is saving and being able to recall and/or pipe previous commands, while copy paste might be implemented in both.