Compiler design. Vol. 2: Syntactic and semantic analysis
This book is the second volume in a series of three books on compiler construction written in German. After introducing the general form of the usual compiler pipeline, it has three main topics: lexing, parsing and semantic analysis, with the understanding that the latter visits the topics of symbol table construction, type inference and a bit of code generation, but leaves an in-depth discussion of code generation, and the topic of optimization each to its own volume. The viewpoint in this book is largely conceptual and academic, not pragmatic: the authors take their time to introduce the formal aspects of regular and context-free languages, to discuss algorithms for, e.g., minimizing finite automata, to prove constructions correct, and to discuss finite automata and pushdown automata. The authors also provide examples of how the automata may be implemented in Java-like code, extended with pattern-matching. Other books may resort to tools like Antlr and yacc for actually implementing parsers, but that is not attempted here. Clearly, the authors feel that the low-level aspects of parsing and scanning are important to gain a thorough understanding of the material. And they may well be right. The set-up of the book is what you would expect from a book in the tradition of, say, Aho, Sethi, Ullman, with the understanding that this particular book only considers the compiler front-end. Beyond the standard material on imperative languages, the authors also offer glimpses of functional programming languages, in particular the problem of type inferencing. The authors also discuss attribute grammars as a vehicle for implementing the semantic analyses. In terms of writing, the book is (given the intrinsic difficultly of what is being discussed) relatively easy to follow, but a proficiency in reading (mathematical) formulas is certainly useful. The wording is precise, and rather formal sounding, but that is not so surprising seeing that the book is written in German. There is also an English version of this book [Zbl 1273.68077]. That a German version exists at all may come as a surprise, but seeing that this book and the two others volumes [Zbl 1126.68024; Zbl 1183.68174] together arose from a (German) book on compiler construction by the first one of the current authors and \textit{D. Maurer} (see [Zbl 0757.68032; Zbl 0866.68024]) suggests that there is indeed a market for a book of this kind. It does seem to me that the main audience for this book consists of students of computer science at a German Hochschule.
- scientific article; zbMATH DE number 1096966
- Formal languages and compilation
- scientific article; zbMATH DE number 51152
- scientific article; zbMATH DE number 814823
- scientific article; zbMATH DE number 4086978
- scientific article; zbMATH DE number 3905825
- scientific article; zbMATH DE number 236850
- scientific article; zbMATH DE number 3874572
- scientific article; zbMATH DE number 3843164
- Compiler construction. Theory, design, generation
- scientific article; zbMATH DE number 3843164 (Why is no real title available?)
- scientific article; zbMATH DE number 3843165 (Why is no real title available?)
- scientific article; zbMATH DE number 3967879 (Why is no real title available?)
- Compiler design. Vol. 3: Analysis and transformation.
- Compiler design. Syntactic and semantic analysis
This page was built for publication: Compiler design. Vol. 2: Syntactic and semantic analysis
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3630269)