← Work

Course project · Oct–Dec 2024

C Shell

A Unix-style shell written from scratch in C with Lex and Yacc.

  • C
  • Lex
  • Yacc

Problem

A systems programming course project: build a working Bash-like shell from scratch, including the lexer and parser.

What I built

  • Parsing and execution for pipes, I/O redirection, quoting, and other Bash-like features, using a Lex lexer and a Yacc grammar.

Results

lexer, parser, and execution
C