Skip to content

sudanchapagain/tiny-shell

Repository files navigation

Shell in Kotlin

Part of codecrafters' Build your own Shell

POSIX compliant-ish shell that's capable of running external programs and builtin commands like cd, pwd, echo and more.

small graphic showcasing shell's implementation

Status

Completed

  • Prompt printing.
  • Missing command handling.
  • REPL.
  • Builtins: exit, echo, type (builtins & executable), pwd, cd (relative, absolute, home)
  • program running.

TODO

  • Extra: Output redirection, piping, history, job control, auto-completion, variable interpolation.

Issues

  1. only executables and implemented shell builtins are accepted.
  2. doesn't properly parse windows' PATH (namely anything with %<name>%) as such only explicitly defined full path environment variables are supported.

About

tiny simple shell in kotlin

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages