Introduction.- Program Text to Tokens- Lexical Analysis.- Tokens to Syntax Tree- Syntax Analysis.- Grammar-based Context Handling.- Manual Context Handling.- Interpretation.- Code Generation.- Assemblers, Disassemblers, Linkers, and Loaders.- Optimization Techniques.- Explicit and Implicit Memory Management.- Imperative and Object-Oriented Programs.- Functional Programs.- Logic Programs.- Parallel and Distributed Programs.
"Modern Compiler Design" makes the topic of compiler design more accessible by focusing on principles and techniques of wide application. By carefully distinguishing between the essential (material that has a high chance of being useful) and the incidental (material that will be of benefit only in exceptional cases) much useful information was packed in this comprehensive volume. The student who has finished this book can expect to understand the workings of and add to a language processor for each of the modern paradigms, and be able to read the literature on how to proceed. The first provides a firm basis, the second potential for growth.
Accessibility: everything is explained from basic principles without being simplistic
Scope: compilation for all paradigms, imperative, object-oriented, functional, logic, and distributed/parallel
Integrated and up-to-date treatment of lexical analysis, LALR and GLR parsing
Legacy code: grammar recovery, disassembly, decompilation
Embedded systems: code size reduction, code compression, power reduction
Includes useful summaries of the salient points at the end of each chapter.