This is a project for my Computer Systems class. In this project, I made a Shell from scratch.
This is the starter code for Project 1.
The Makefile contains the following targets:
make all
- compile everythingmake tokenize
- compile the tokenizer demomake tokenize-tests
- compile the tokenizer demomake shell
- compile the shellmake shell-tests
- run a few tests against the shellmake test
- compile and run all the testsmake clean
- perform a minimal clean-up of the source tree
The examples directory contains an example tokenizer. It might help.