Skip to content

Roberth-Souza/kashell

Repository files navigation

progress-banner

kashell

A POSIX-ish shell written from scratch in Python, with no external dependencies.

This is my solution to the "Build Your Own Shell" challenge by CodeCrafters — the challenge, its stages and the test suite are theirs. This is a learning project, built stage by stage.

Along the way: shell command parsing, REPLs, PATH lookup and builtin commands.

Note: if you're viewing this repo on GitHub, head over to codecrafters.io to try the challenge yourself.

What works

  • Builtins: exit, echo, type, pwd, cd (supports ~)
  • Running external programs found in PATH
  • Quoting: single quotes, double quotes and backslash escapes

Running it

  1. Make sure you have uv installed
  2. Run ./your_program.sh

About

Shell created following the codecrafters guide

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages