A fun way to build a Scheme compiler?
Posted by kernelbob on October 14, 2009
I found this.
An Incremental Approach to Compiler Construction
It’s a paper describing an agile approach to building a compiler. It starts with a tiny “language” that only contains integer constants, and builds a compiler that emits x86 assembly to return integer constants. Then it incrementally builds that, in “steps of a single working session”, into a compiler for a fully usable Scheme language.
The author is at Indiana University, so I suppose there’s a class to go with it. I didn’t find the class notes, but I did find a longer tutorial paper.