3 ms·
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.
by pjmlp 7mo ago
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/ 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/ https://holub.com/compiler/
lcc, A Retargetable Compiler for ANSI C
https://drh.github.io/lcc/ https://drh.github.io/lcc/
Or if one wants to go with more clever stuff,
Compiling with Continuations
Lisp in Small Pieces
- drob518 7mo agoAnother 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.
- rurban 7mo agoInstead of Lisp in Small Pieces I'd recommend SICP instead. No continuation passing, but much better written.
- pjmlp 7mo agoAnd 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.