scientific article; zbMATH DE number 3905825

From MaRDI portal
Publication:3683522





As all texts on compiler construction do, the first chapter of this book presents an overview of the structure of language translators. In the second chapter all the concepts of discrete mathematics and formal language theory needed to construct compilers are introduced. Chapter 3 is really interesting, since its material has to the best of my knowledge never been included into a compiler book before. The chapter attempts to give a unified treatment of the topics of programming language design. The authors strive to elucidate the factors which make a language convenient for both application programmers and implementors. The fourth chapter contains details about the construction of an elementary lexical analyzer. Furthermore, the design and implementation of scanner generators is discussed. Issues of the compile-time handling of errors are dealt with in chapter five. Being largely dependent on the specific parsing method used, the material of this chapter might have better been placed behind the chapters containing syntactical analysis strategies. The sixth chapter is divided into two major sections. Firstly, general methods of top-down parsing are dealt with. Secondly, deterministic parsing methods without backup are discussed. Chapter seven begins with a description of parsing techniques based on Polish notation and precedence grammars. Thereafter, deterministic bottom-up parsers employing one symbol of lookahead are described. Table handling techniques for both block-structured and non-block-structured programming languages are presented in the eighth chapter. Chapter nine starts the discussion of those modules of a compiler which are responsible for the synthesis of object code. First, run-time storage organization and management are described. This is followed by a short chapter on intermediate forms of programs. Chapter eleven delves into semantic analysis and code generation. The methods discussed are based on syntax-directed processing and include semantic stacks, action symbols and attributed translation grammars. The next two chapters center around techniques for both machine-dependent and machine-independent code optimization. The final chapter fourteen gives a brief overview of compiler-compiler systems. This is quite a modern text on compiler contruction. It is equally suited for self study and classroom presentation. Each chapter contains a set of exercises and an extensive bibliography. Its best asset is the availability of a companion text, entitled: An implementation Guide to Compiler Writing, produced by the same authors. Therein, the proper use of the material of this book is demonstrated in the development and implementation of a small typical compiler for an ALGOL-like language. This should prove to be especially useful for instructors teaching a course on compiler construction. As to me, this book will be my first choice the next time I am going to lecture on this very topic.




Cited in
(23)








This page was built for publication:

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3683522)