News for hackers. Stuff that matters.
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by pjmlp on Wednesday April 15, 2026 @03:26PM (#47783986)
It was a product of its time I guess, much better ones from similar vintage,

The Tiger book (with C, Standard ML, and Java variants)

https://www.cs.princeton.edu/~appel/modern/

Compiler Design in C (freely available nowadays, beware this is between K&R C and C89)

https://holub.com/compiler/

lcc, A Retargetable Compiler for ANSI C

https://drh.github.io/lcc/

Or if one wants to go with more clever stuff,

Compiling with Continuations

Lisp in Small Pieces

Re:Want to Write a Compiler? Just Read These Two Papers (2008) by drob518 on Wednesday April 15, 2026 @03:55PM (#47784383)
Another vote for Lisp in Small Pieces. Great high level compiler book that teaches you how to build a Lisp and doesn’t get bogged down in lexing and parsing.
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by rurban on Thursday April 16, 2026 @12:18PM (#47795659)
Instead of Lisp in Small Pieces I'd recommend SICP instead. No continuation passing, but much better written.
Re:Want to Write a Compiler? Just Read These Two Papers (2008) by pjmlp on Friday April 17, 2026 @01:55AM (#47802833)
And no information on how to actually do a compiler, end to end, only a self hosted interpreter.

The authors don't have the same audience in mind.

I would recommend both, one is about actual Lisp compilers, the other alternative computation models.