Mysh-rs - My first Rust project


#1

I posted this in reddit, but didn’t get any advices, criticisms. So posting this here.

I made a unix shell in rust. It is pretty basic in functionality. I would like to get feedback, criticism of my rust usage and advice on the general design in this project.


#2

Very nice. Your Rust usage is pretty good. I see you’re using Cow, and I haven’t noticed any mistakes.

Clippy has some minor suggestions about code style:

cargo +nightly install clippy --force
cargo +nightly clippy

#3

Awesome stuff! I’ve been looking for a good example of an interpreted language/shell in Rust


#4

Thank you. I was surprised to discover some code style suggestions that improved readability and make code more idiomatic. :slight_smile: