Skip to content

truonghm/shell-rust

Repository files navigation

Rust Implementation of the shell

Set up and run

Install Rust

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Add it to your path

PATH=$PATH:$HOME/.cargo/bin

Compile and run the shell

clone this repository,

git clone https://github.com/truonghm/shell-rust.git

and run

cd shell-rust && cargo run

Roadmap

  • REPL
  • Builtin: echo, type, exit
  • Running external programs (using PATH)
  • pwd, cd
  • Quoting: single quotes, double quotes, backslash
  • Redirection: stdout, stderr
  • Autocompletion: builtin, with arguments, etc.
  • Pipelines
  • History: listing history, up/down navigation, execution
  • Persisting history: read/write from file, append to file, modify history on exit
  • Parse tree

About

Rust implementation of the shell

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors