This repository contains all my implementations for the projects described in the book The Elements of Computing Systems.
To run the tests and compile the code you needs some tools. These tools can easily be installed by running following command in the repo root folder:
make install
To run the unit tests execute following command:
make test
If you download the project files from the Nand2Tetris website you'll notice that all project files contain Windows carriage return characters (^M). To remove these I used following command. dos2unix can be installed on OSX using brew install dos2unix.
find . -type f -exec dos2unix {} \;
