Want to Write a Compiler? Just Read These Two Papers (2008)

https://prog21.dadgum.com/30.html

Article

  • 2008 post recommending two papers over thick compiler textbooks
  • Papers: Nanopass framework and an incremental compiler construction approach
  • Argues compilers are approachable with the right focused resources

Discussion

  • Ghuloum’s incremental Scheme compiler paper frequently cited as the real entry point
  • Crafting Interpreters (Nystrom) recommended as modern alternative; Nanopass link is dead
  • Parser combinators (Megaparsec) praised as practical alternative to formal grammar theory
  • Debate: compilers aren’t that hard for late-CS-degree students; the mystique is overstated

Discuss on HN


Type Link
Added Apr 15, 2026
Modified Apr 15, 2026