Want to Write a Compiler? Just Read These Two Papers.
I found Peter Sestoft's "Programming Language Concepts for Software Developers" an enjoyable read. The book incrementally builds two compilers - one for Micro-ML and one for Micro-C. The implementation language is F#.<p><a href="http://www.itu.dk/courses/BPRD/E2010/plcsd-0_50.pdf" rel="nofollow">http://www.itu.dk/courses/BPRD/E2010/plcsd-0_50.pdf</a>
<a href="http://channel9.msdn.com/Blogs/martinesmann/Teaching-programming-language-concepts-with-F-part-1" rel="nofollow">http://channel9.msdn.com/Blogs/martinesmann/Teaching-program...</a>