Compiler Design

Analysis and Transformation
Buch | Hardcover
XII, 177 Seiten
2012 | 2012
Springer Berlin (Verlag)
978-3-642-17547-3 (ISBN)
74,89 inkl. MwSt

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.

The book deals with the optimization phase of compilers. In this phase, programs are transformed in order to increase their efficiency. To preserve the semantics of the programs in these transformations, the compiler has to meet the associated applicability conditions. These are checked using static analysis of the programs. In this book the authors systematically describe the analysis and transformation of imperative and functional programs. In addition to a detailed description of important efficiency-improving transformations, the book offers a concise introduction to the necessary concepts and methods, namely to operational semantics, lattices, and fixed-point algorithms.

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

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.

Introduction.- Program Semantics.- Transformations.- Static Analysis.- Imperative Programs.- Functional Programs.- References.- Index.

From the reviews:

"German academics ... provide a concise, compact presentation on 'methods to improve the efficiency of target programs by a compiler,' i.e., a compiler's optimizing phase. ... The authors provide a wealth of information on analysis along with specific illustrations. ... The authors walk through many of their examples with reference to various languages (such as Java). Since this book is aimed at students, it includes exercises at the end of each chapter. ... Summing Up: Recommended. Upper-division undergraduates and graduate students." (M. B. DuBois, Choice, Vol. 50 (10), June, 2013)

"The authors bring together many of the results from the last few decades in a coherent and detailed manner, and the result is an excellent resource for those wanting to understand some of the complex issues in building realistic, industrial-strength compilers. ... The authors provide motivation and definitions for many of the concepts in static analysis, and illustrate these ideas through example programs that can be optimized." (Sara Kalvala, Computing Reviews, April, 2013)

"This is a nice book on intraprocedural analysis for imperative languages, with short outings into interprocedural analysis, and analysis of functional languages. The book looks nice, reads well and provides good intuitions, and, importantly, also provides details on the transformation of programs. ... It introduces the necessary preliminaries along the way as they arise ... which gives the book a better flow when reading. Finally, it is also graphically very pleasing to look at." (Juriaan Hage, Zentralblatt MATH, Vol. 1257, 2013)

Erscheint lt. Verlag 14.8.2012
Zusatzinfo XII, 177 p.
Verlagsort Berlin
Sprache englisch
Maße 155 x 235 mm
Gewicht 395 g
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Theorie / Studium Compilerbau
Schlagworte Compiler • Compilers • Functional Programming • High-Level Programming • Imperative Programming • Interpreters • Logic Programming • Machine architectures • object-oriented programming • programming • Virtual machines
ISBN-10 3-642-17547-3 / 3642175473
ISBN-13 978-3-642-17547-3 / 9783642175473
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Grundlagen und Anwendungen

von Hanspeter Mössenböck

Buch | Softcover (2024)
dpunkt (Verlag)
29,90
a beginner's guide to learning llvm compiler tools and core …

von Kai Nacke

Buch | Softcover (2024)
Packt Publishing Limited (Verlag)
49,85