Chapter 03 / 2025 / Languages
Mini C Compiler
A compiler is the program that turns code a person writes into instructions a computer runs. This one reads MiniC, a small version of the C language, checks it for mistakes and produces a real program for an ordinary PC.
What it is
From text to a running program
To the computer, source code is just a long string of characters.
How it works
Every stage, source to binary
I wrote every stage, from reading the text to the finished program.
What it measured
Smaller code, tested
A fifth less code, and every test still passes.



