Skip to content

ebruneton/toypc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

This repository contains the source code of the book "Programming a toy computer from scratch", and of the associated website and emulator.

Demo

Use the online demo of the fully assembled and programmed toy computer to see what it can do. For instance, type snake to launch its snake game, or edit src/snake/snake.toy to view the source code of this program.

Build

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.

License

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.

About

This repository contains the source code of the book "Programming a toy computer from scratch"

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors