Skip to content

SacBase/Tutorial

Repository files navigation

SAC Language Tutorial (Source Files)

These source files are meant to be used together with the SAC Tutorial.

How to build

Prequisites: SAC Compiler and Standard Library, including modules like SDL.

To build any of the tutorial examples, the environment variable SACBASE needs to point to the location of the cloned repository.

cd Tutorial
export SACBASE=$PWD
make -j             # this will build *all* tutorial examples

You can go into any of the top-level directories and build only those SAC programs.