crsh

Crates.iocrsh
lib.rscrsh
version0.0.1
sourcesrc
created_at2024-06-18 14:34:48.686274
updated_at2024-06-18 14:34:48.686274
descriptionCrappy Rust SHell. Basic implementation of a unix shell written in Rust, not meant to actually be used or taken seriously.
homepagehttps://github.com/ndunnett/crsh
repositoryhttps://github.com/ndunnett/crsh
max_upload_size
id1275523
size52,117
(ndunnett)

documentation

README

crsh

Crappy Rust SHell. Basic implementation of a unix shell written in Rust, not meant to actually be used or taken seriously.

Features

  • Functional prompt
  • Command launching, piping, and logical grouping
  • Basic builtin commands cd, which, exit
  • Non-interactive mode
  • Prompt history

Todo

  • Command lists
  • Flesh out builtins
  • Fully functional IO redirection
  • History persistence
  • Set/unset shell options
  • Setting/reading env vars
  • Bash-esque variable expansion
  • Launching sub-shells
  • Full scripting functionality
  • Rewrite parser to use shunting yard
  • Implement stack based compiler/interpreter
  • Implement ctrl-z and ctrl-c and proper signal handling
  • New scripting language
  • Custom prompt styling
  • Loading configuration files (ie. .profile, .*rc, .*env)
  • Autocompletion
  • Syntax highlighting
Commit count: 36

cargo fmt