Brian Slesinsky's Weblog

Tuesday, 03 Oct 2006

Writing a Compiler in 24 Small Steps

Wow, it looks like even the academics are getting into test-first coding. Here's a paper on writing a compiler from scratch, in steps small enough to do in one sitting. After each step, the compiler can translate an increasingly large subset of Scheme into x86 assembly.

It's like two courses in one: learn compilers and modern software development practices at the same time:

An Incremental Approach to Compiler Construction by Abdulaziz Ghuloum

(Found on Lambda the Ultimate.)