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.
- Builtins:
exit,echo,type,pwd,cd(supports~) - Running external programs found in
PATH - Quoting: single quotes, double quotes and backslash escapes
- Make sure you have
uvinstalled - Run
./your_program.sh