Compiler Writing Resources

Cluster focuses on recommendations for books, tutorials, courses, and projects to learn writing compilers and interpreters from scratch.

📉 Falling 0.5x Programming Languages
4,801
Comments
20
Years Active
5
Top Authors
#5917
Topic ID

Activity Over Time

2007
8
2008
62
2009
91
2010
127
2011
132
2012
135
2013
208
2014
198
2015
281
2016
315
2017
355
2018
237
2019
361
2020
463
2021
338
2022
370
2023
434
2024
315
2025
349
2026
22

Keywords

IT ASM HN L360 LLVM compilers.iecc BCPL compiler.html uchicago.edu ghuloum.pdf compiler compilers writing interpreter language interpreters ve written resources jack book

Sample Comments

simula67 • Sep 21, 2018 • View on HN

Can anyone recommend good resources on writing a compiler from scratch ?

harrisreynolds • Jul 8, 2017 • View on HN

This recent HN post could be useful to you: https://jaseemabid.github.io/2017/07/04/compiler.htmlThe "dragon" books is one of the classics. (Compilers: Principles, Techniques, and Tools) ... linked to in another comment.

neatcoder • Mar 26, 2019 • View on HN

Any recommendations for introductory text for writing compilers and interpreters?

pkaye • Aug 4, 2019 • View on HN

There is an old one on compilers called "Let's build a compiler by Jack Crenshaw" Its in Pascal but I think there are modern rewrites of it (like C on an x86)

dragonbonheur • Oct 15, 2016 • View on HN

Read "Let's Build a Compiler" by Jack Crenshaw http://compilers.iecc.com/crenshaw/

pbh101 • Feb 12, 2020 • View on HN

Cremdhaw’s ‘Let’s Build a Compiler!’https://compilers.iecc.com/crenshaw/

oblio • Dec 5, 2017 • View on HN

Writing compilers definitely is.

moopling • Jul 12, 2019 • View on HN

Does anyone have recommendations for good resources on writing your first compiler?

jcmontx • Sep 13, 2025 • View on HN

You better start writing your own compilers then

segmondy • Jun 22, 2016 • View on HN

You are looking for this, "let's build a compiler" http://www.stack.nl/~marcov/compiler.pdf