DeepRead
Cover of Modern compiler implementation in C

Modern compiler implementation in C

Andrew W. Appel, Maia Ginsburg · 2004

Programming and computer science › Compilers and interpreters

#3,464 most recommended

About the book

A textbook on compiler construction, covering the full pipeline from lexical analysis and parsing through semantic analysis, activation records, intermediate representations, instruction selection, register allocation, and garbage collection. It uses C for its code and builds a small statically typed language, Tiger, as the running example. The book holds that a compiler is best learned by building a complete, working one in modular stages with clearly defined interfaces between them. It presents the standard algorithms for each stage as practical tools for that job, and it favours a largely functional style for the data structures in the compiler. Its central claim is that this approach makes the whole compilation process understandable and buildable by a student.

Written by Claude from what it knows of this book.

What Hacker News says 67% recommend · 8% critical

02420102015202020242017 peak · 3
This bookAverage book in Compilers and interpreters

In the commenters’ own words

  • The results from the "Compiler-Construction" are not good. You'll find better results from a search engine, Q&A site, or bookseller: Here are the top 10: #1…

    xpe · 2017 · in The most mentioned books on Stack Overflow

  • Much of the frontend is pretty much the same: parsing, semantic analysis, type checking. LLLVM mostly comes into play when generating the code. Instead of…

    ltta · 2014 · in Compiler Design in C

What Open Library readers say

No Open Library reader has rated it yet.

  • 1 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2004
ISBN
9780521607650
Editions known
6 at Open Library
Open Library
OL19888787W

C (Computer program language)C (computer program language)Compilers (Computer programs)Compilers (computer programs)

Explore in the mosaic

Read next: its neighbours on the mosaic