How I Learn Compilers

2025-03-04   blogpage programming howilearn sketch


Crafting Interpreters by Nystrom


SICP Structure and Interpretation of Computer Programs by Abelson


((How to Write a (Lisp) Interpreter (in Python)) (by Peter Norvig)(archived))


Dabeaz (David Beazley) Write a Compiler Course Notebook


LLVM Tutorial — LLVM


Read code of Sly Lex Yacc (archived) and PLY


George Hotz

  • Scheming in Haskell - https://www.youtube.com/watch?v=5QsC_VeYL4g

  • Metamath - https://www.youtube.com/watch?v=4Or-5OLCNDA (parser) + https://www.youtube.com/watch?v=OAXjsUZoOgo


Other relevant:


Good bloggers


Resource lists






Outgoing Web References (6)
  1. llvm.org/docs/tutorial
    • LLVM Tutorial — LLVM
  2. aosabook.org/en/v1/llvm.html
    • LLVM by Chris Lattner in The Architecture of Open Source Applications (Volume 1)
  3. github.com/dabeaz/sly
    • Sly Lex Yacc (archived)
  4. www.youtube.com/watch?v=zJ9z6Ge-vXs
    • David Beazley - Reinventing the Parser Generator - PyCon 2018
  5. eli.thegreenplace.net
    • Eli Bendersky's website
  6. glyphack.com/blog/compiler-resources
    • Glyphack's Compilers Resources

Receive my updates

Barış Özmen © 2025