Compiling a Piece of Paper

Lucas Bang | 2025-04-07

Tags: compilers, cs-history

Bootstrapping

I was thinking about bootstrapping and thought about this awesome interview of Ken Thompson talking about Doug McIlroy.

I often share this story with my students when I teach Programming Languages.

In the interview, Ken Thompson explains how Doug McIlroy implemented a compiler on paper by hand, and then ran the compiler on itself on paper by hand, for a proprietary language called TMG (TransMoGrifier).

Outline of his process


Pretty amazing!

Here is the interview starting at the timestamp where this comes up.