52,99 €
inkl. MwSt.
Versandkostenfrei*
Versandfertig in 6-10 Tagen
payback
26 °P sammeln
  • Gebundenes Buch

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.
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…mehr

Produktbeschreibung
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.
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.
Autorenporträt
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.  
Rezensionen
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)…mehr