Skip to main content Accessibility help
×
  • Cited by 104
Publisher:
Cambridge University Press
Online publication date:
June 2012
Print publication year:
2002
Online ISBN:
9780511811432

Book description

This textbook describes all phases of a compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-coloring register allocation, and runtime systems. It includes good coverage of current techniques in code generation and register allocation, as well as the compilation of functional and object-oriented languages, that is missing from most books. The most accepted and successful techniques are described concisely, rather than as an exhaustive catalog of every possible variant, and illustrated with actual Java classes. This second edition has been extensively rewritten to include more discussion of Java and object-oriented programming concepts, such as visitor patterns. A unique feature is the newly redesigned compiler project in Java, for a subset of Java itself. The project includes both front-end and back-end phases, so that students can build a complete working compiler in one semester.

Reviews

From reviews of the first edition...‘One of the first compiler texts that presents, at an undergraduate level, developments from the mid-1980’s onward … This breakdown of topics is a good reflection of where a compiler writer’s time actually goes.’

Source: Dr. Dobb’s Journal

‘Serves its intended purpose as a classroom textbook, fitting comfortably and usefully between cookbooks and encyclopedias on compilation … also suitable for self-study.’

Source: Computing Reviews

'… I recommend this book as a textbook for both beginning and advanced compiler courses … a well-written book, which strictly adheres to a no-nonsense style, and therefore is a pleasure to read.'

Source: Computing Reviews

Refine List

Actions for selected content:

Select all | Deselect all
  • View selected items
  • Export citations
  • Download PDF (zip)
  • Save to Kindle
  • Save to Dropbox
  • Save to Google Drive

Save Search

You can save your searches here and later view and run them again in "My saved searches".

Please provide a title, maximum of 40 characters.
×

Contents

Metrics

Altmetric attention score

Full text views

Total number of HTML views: 0
Total number of PDF views: 0 *
Loading metrics...

Book summary page views

Total views: 0 *
Loading metrics...

* Views captured on Cambridge Core between #date#. This data will be updated every 24 hours.

Usage data cannot currently be displayed.