From 2aa05219e29c06d86db746cef3b944ca0b3086ad Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 2 Jan 2026 13:37:19 -0800 Subject: [PATCH] Add a readme --- Readme.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Readme.md diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..8109e3c --- /dev/null +++ b/Readme.md @@ -0,0 +1,26 @@ +csc360-a1-shell +=============== + +CSC360 assignment 1: `a1.pdf` is the spec. It's a small shell. + +The initial C implementation lives in `c/`, and a Ruby implementation and test suite lives in `ruby/`. The Ruby version is just for fun. The Ruby tests can run against any implementation and are used to test the C version as well. + +We assume that you have a C compiler. + +Bootstrap installs readline and gems: + + make bootstrap + +Build and test both the C and Ruby versions: + + make + +Build and test just the C version: + + make c + +Test the Ruby version: + + make ruby + # or + cd ruby && bundle exec rake