This repository contains the source code of the book "Programming a toy computer from scratch".
Type make
in the book
directory to build the book. This requires GNU Make, Python3, a complete LaTeX installation, and a complete Rust installation (including Cargo).
Type make
in the main directory to build the book and the companion website as well.
The LaTeX source code of the book is licensed under the Creative Commons BY-NC-SA 4.0 License. The custom LaTeX source code preprocessor (used for literate programming), as well as the toy PC emulator (used to check the book content), both in Rust, are licensed under the GNU General Public License v3.