Skip to main content
  • Textbook
  • © 2012

Modern Compiler Design

Authors:

(view affiliations)
  • Accessibility: everything is explained from basic principles without being simplistic

  • Scope: compilation for all paradigms, imperative, object-oriented, functional, logic, and distributed/parallel

  • Integrated and up-to-date treatment of lexical analysis, LALR and GLR parsing

  • Legacy code: grammar recovery, disassembly, decompilation

  • Embedded systems: code size reduction, code compression, power reduction

  • Includes useful summaries of the salient points at the end of each chapter.

Buying options

eBook
USD 79.99
Price excludes VAT (USA)
  • ISBN: 978-1-4614-4699-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD 99.99
Price excludes VAT (USA)
Hardcover Book
USD 139.99
Price excludes VAT (USA)

This is a preview of subscription content, access via your institution.

Table of contents (14 chapters)

  1. Front Matter

    Pages i-xxi
  2. Introduction

    • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
    Pages 1-51
  3. From Program Text to Abstract Syntax Tree

    1. Front Matter

      Pages 53-53
    2. Program Text to Tokens — Lexical Analysis

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 55-114
    3. Tokens to Syntax Tree — Syntax Analysis

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 115-206
  4. Annotating the Abstract Syntax Tree

    1. Front Matter

      Pages 207-207
    2. Grammar-based Context Handling

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 209-259
    3. Manual Context Handling

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 261-296
  5. Processing the Intermediate Code

    1. Front Matter

      Pages 297-297
    2. Interpretation

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 299-312
    3. Code Generation

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 313-362
    4. Assemblers, Disassemblers, Linkers, and Loaders

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 363-384
    5. Optimization Techniques

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 385-459
  6. Memory Management

    1. Front Matter

      Pages 461-461
    2. Explicit and Implicit Memory Management

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 463-507
  7. From Abstract Syntax Tree to Intermediate Code

    1. Front Matter

      Pages 509-509
    2. Imperative and Object-Oriented Programs

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 511-616
    3. Functional Programs

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 617-675
    4. Logic Programs

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 677-736
    5. Parallel and Distributed Programs

      • Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J. H. Jacobs, Koen Langendoen
      Pages 737-781

About this book

"Modern Compiler Design" makes the topic of compiler design more accessible by focusing on principles and techniques of wide application. By carefully distinguishing between the essential (material that has a high chance of being useful) and the incidental (material that will be of benefit only in exceptional cases) much useful information was packed in this comprehensive volume. The student who has finished this book can expect to understand the workings of and add to a language processor for each of the modern paradigms, and be able to read the literature on how to proceed. The first provides a firm basis, the second potential for growth.

Keywords

  • Assemblers
  • Attribute Grammars
  • Code Generation
  • Compilers
  • Embedded Systems
  • Functional Programming
  • Interpreters
  • Legacy Code
  • Lexical Analysis
  • Linkers
  • Loaders
  • Logic Programming
  • Memory Management
  • Optimization
  • Parallel/Distributed Programming
  • Parsing

Reviews

From the reviews of the second edition:

“This large, updated new edition … provides excellent coverage of the design segment. The writing is clear and accessible; the material is well organized and complete; the references are extensive (over 300) and the student exercises are well conceived … . the essence of the book is the middle ground between the two: how compilers are structured and how the substructures of a compiler relate to one another. Summing Up: Recommended. Computer science collections, upper-division undergraduates and above.” (C. Vickery, Choice, Vol. 50 (6), February, 2013)

Authors and Affiliations

  • Vrije Universiteit, Amsterdam, Netherlands

    Dick Grune, Kees van Reeuwijk, Henri E. Bal

  • , Computer Science, Vrije Universiteit, Amsterdam, Netherlands

    Ceriel J.H. Jacobs

  • Delft University of Technology, Delft, Netherlands

    Koen Langendoen

Bibliographic Information

  • Book Title: Modern Compiler Design

  • Authors: Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J.H. Jacobs, Koen Langendoen

  • DOI: https://doi.org/10.1007/978-1-4614-4699-6

  • Publisher: Springer New York, NY

  • eBook Packages: Computer Science, Computer Science (R0)

  • Copyright Information: Springer Science+Business Media New York 2012

  • Hardcover ISBN: 978-1-4614-4698-9

  • Softcover ISBN: 978-1-4939-4472-9

  • eBook ISBN: 978-1-4614-4699-6

  • Edition Number: 2

  • Number of Pages: XXI, 822

  • Topics: Compilers and Interpreters, Processor Architectures, Programming Techniques

Buying options

eBook
USD 79.99
Price excludes VAT (USA)
  • ISBN: 978-1-4614-4699-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD 99.99
Price excludes VAT (USA)
Hardcover Book
USD 139.99
Price excludes VAT (USA)