Written by Thomas Macmillan - 15521460 21/10/2024
- Install Go 1.21 or higher on your machine. See https://go.dev/doc/install
- Copy this folder to a location within your GOPATH
- Run the following command to build the applicaiton for your system:
go build
After compiling, the app can be invoked by running ./comp2007-assignment1
, appended with the names of the sample programs to run.
The full list of legal arguments is as follows:
- simplicityorthogonality
Runs the Simplicity and Orthogonality Sample Program - datatypes
Runs the Data Types Sample Program - syntax
Runs the Syntax Design Sample Program - abstraction
Runs the Abstraction Sample Program - expressivity
Runs the Expressivity Sample Program - typechecking
Runs the Type Checking Sample Program - exceptionhandling
Runs the Exception Handling Sample Program