Skip to content

sangeetsourav/codecrafters-shell-cpp

Repository files navigation

🐚 codecrafters-shell-cpp

A minimalist Unix shell built from scratch in C++, as part of the Codecrafters Shell challenge. The goal: understand how real shells work.

✨ Features implemented

✅ REPL loop

✅ Parse and run basic commands

✅ Handle command arguments

✅ Execute external programs

✅ Support built-in commands like cd, type, echo, pwd

✅ Support for escape characters

✅ Support for input/output redirection

✅ Command tab-completion and history based on the readline library. Tab-completion based on the Trie data structure

(Work in progress — more features planned!)

About

POSIX compliant shell built from scratch in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •