Skip to content
Register Sign in Wishlist

Modern Compiler Implementation in C

CAD$100.95 (X)

  • Date Published: July 2004
  • availability: Available
  • format: Paperback
  • isbn: 9780521607650

CAD$ 100.95 (X)

Add to cart Add to wishlist

Other available formats:

Request examination copy

Instructors may request a copy of this title for examination

Product filter button
About the Authors
  • This new, expanded textbook describes all phases of a modern 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 functional and object-oriented languages, that are missing from most books. In addition, more advanced chapters are now included so that it can be used as the basis for a two-semester or graduate course. The most accepted and successful techniques are described in a concise way, rather than as an exhaustive catalog of every possible variant. Detailed descriptions of the interfaces between modules of a compiler are illustrated with actual C header files. The first part of the book, Fundamentals of Compilation, is suitable for a one-semester first course in compiler design. The second part, Advanced Topics, which includes the advanced chapters, covers the compilation of object-oriented and functional languages, garbage collection, loop optimizations, SSA form, loop scheduling, and optimization for cache-memory hierarchies.

    • Keeps up with the revolution in computer architecture since 1985, covering current techniques in instruction selection, code generation, register allocation
    • Excellent coverage of practical back-end code generation issues not available in most texts
    • Well designed implementation project, with chapter-by-chapter programming assignments, so the resulting 'student compiler' is simple but high-tech and modern
    • Uses the C programming language for exercises and examples
    • Four new chapters - Static Single-Assignment Form, Polymorphic Types, Pipelining and Scheduling, and the Memory Heirarchy
    • A new section on parsing with automatic syntax-error repair
    • Some sections of the Register Allocation and Canonical Trees chapters have been completely rewritten to improve the clarity of explanation
    • All chapters have more pencil-and-paper exercises and Further Reading sections
    Read more

    Customer reviews

    Not yet reviewed

    Be the first to review

    Review was not posted due to profanity


    , create a review

    (If you're not , sign out)

    Please enter the right captcha value
    Please enter a star rating.
    Your review must be a minimum of 12 words.

    How do you rate this item?


    Product details

    • Date Published: July 2004
    • format: Paperback
    • isbn: 9780521607650
    • length: 556 pages
    • dimensions: 243 x 179 x 31 mm
    • weight: 0.96kg
    • contains: 80 b/w illus. 34 tables 117 exercises
    • availability: Available
  • Table of Contents

    Part I. Fundamentals of Compilation:
    1. Introduction
    2. Lexical analysis
    3. Parsing
    4. Abstract syntax
    5. Semantic analysis
    6. Activation records
    7. Translation to intermediate code
    8. Basic blocks and traces
    9. Instruction selection
    10. Liveness analysis
    11. Register allocation
    12. Putting it all together
    Part II. Advanced Topics:
    13. Garbage collection
    14. Object-oriented languages
    15. Functional programming languages
    16. Polymorphic types
    17. Dataflow analysis
    18. Loop optimizations
    19. Static single-assignment form
    20. Pipelining and scheduling
    21. The memory hierarchy

  • Author

    Andrew W. Appel, Princeton University, New Jersey


    Maia Ginsburg

Sign In

Please sign in to access your account


Not already registered? Create an account now. ×

Sorry, this resource is locked

Please register or sign in to request access. If you are having problems accessing these resources please email

Register Sign in
Please note that this file is password protected. You will be asked to input your password on the next screen.

» Proceed

You are now leaving the Cambridge University Press website. Your eBook purchase and download will be completed by our partner Please see the permission section of the catalogue page for details of the print & copy limits on our eBooks.

Continue ×

Continue ×

Continue ×

Find content that relates to you

Join us online

This site uses cookies to improve your experience. Read more Close

Are you sure you want to delete your account?

This cannot be undone.


Thank you for your feedback which will help us improve our service.

If you requested a response, we will make sure to get back to you shortly.

Please fill in the required fields in your feedback submission.