Skip to main content
  • Textbook
  • © 2013

Compiler Design

Syntactic and Semantic Analysis

  • Written by established experts

  • Illustrated with many examples, exercises and program fragments

  • Second book in a 4-volume set

  • Includes supplementary material: sn.pub/extras

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book USD 89.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (4 chapters)

  1. Front Matter

    Pages i-x
  2. The Structure of Compilers

    • Reinhard Wilhelm, Helmut Seidl, Sebastian Hack
    Pages 1-10
  3. Lexical Analysis

    • Reinhard Wilhelm, Helmut Seidl, Sebastian Hack
    Pages 11-41
  4. Syntactic Analysis

    • Reinhard Wilhelm, Helmut Seidl, Sebastian Hack
    Pages 43-137
  5. Semantic Analysis

    • Reinhard Wilhelm, Helmut Seidl, Sebastian Hack
    Pages 139-216
  6. Back Matter

    Pages 217-225

About this book

While compilers for high-level programming languages are large complex software systems, they have particular characteristics that differentiate them from other software systems. Their functionality is almost completely well-defined – ideally there exist complete precise descriptions of the source and target languages. Additional descriptions of the interfaces to the operating system, programming system and programming environment, and to other compilers and libraries are often available.

 

This book deals with the analysis phase of translators for programming languages. It describes lexical, syntactic and semantic analysis, specification mechanisms for these tasks from the theory of formal languages, and methods for automatic generation based on the theory of automata. The authors present a conceptual translation structure, i.e., a division into a set of modules, which transform an input program into a sequence of steps in a machine program, and they then describe the interfaces between the modules. Finally, the structures of real translators are outlined. The book contains the necessary theory and advice for implementation.

 

This book is intended for students of computer science. The book is supported throughout with examples, exercises and program fragments.

 

 

 

 

Reviews

From the reviews:

“This is the second book in a series of textbooks on compilers, intended for students of computer science. … The level of detail and the large number of exercises make the book suitable for self-study.” (Johan Georg Granström, zbMATH, Vol. 1273, 2013)

Authors and Affiliations

  • FB Informatik, Universität des Saarlandes, Saarbrücken, Germany

    Reinhard Wilhelm, Sebastian Hack

  • Fakultät für Informatik, Technische Universität München, Garching, Germany

    Helmut Seidl

About the authors

The authors are among the established experts on compiler construction, with decades of related teaching experience. Prof. Dr. Reinhard Wilhelm is the head of the Compiler Design Lab of the Universität des Saarlandes, and his main research interests include compiler construction; Prof. Dr. Helmut Seidl heads the Institut für Informatik of the Technische Universität München, and his main research interests include automatic program analysis and the design and implementation of programming languages; Dr. Sebastian Hack is a Junior Professor in the Computer Science Programming Group of the Universität des Saarlandes, and his main research areas include compilers and code generation.

Bibliographic Information

  • Book Title: Compiler Design

  • Book Subtitle: Syntactic and Semantic Analysis

  • Authors: Reinhard Wilhelm, Helmut Seidl, Sebastian Hack

  • DOI: https://doi.org/10.1007/978-3-642-17540-4

  • Publisher: Springer Berlin, Heidelberg

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

  • Copyright Information: Springer-Verlag Berlin Heidelberg 2013

  • Hardcover ISBN: 978-3-642-17539-8Published: 28 May 2013

  • Softcover ISBN: 978-3-642-43591-1Published: 24 June 2015

  • eBook ISBN: 978-3-642-17540-4Published: 13 May 2013

  • Edition Number: 1

  • Number of Pages: X, 225

  • Topics: Programming Techniques, Programming Languages, Compilers, Interpreters

Buy it now

Buying options

eBook USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book USD 89.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access