No description
Find a file
2026-02-07 19:00:44 -08:00
.github/workflows Simplify GitHub Actions workflow (#3) 2026-01-02 13:31:21 -08:00
c [ruby] Modernize Ruby shell parsing and expansion, add C compat test mode (#4) 2026-02-07 15:18:41 -08:00
ruby Update to Ruby 4.0.1 2026-02-07 19:00:44 -08:00
.gitignore Move C implementation into its own subdirectory 2022-01-16 15:03:44 -08:00
a1.pdf First commit 2022-01-16 00:00:02 -08:00
Makefile Simplify GitHub Actions workflow (#3) 2026-01-02 13:31:21 -08:00
Readme.md Add a readme 2026-01-02 13:37:40 -08:00

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