While focusing on the essential techniques common to all language paradigms, this book provides readers with the skills required for modern compiler construction. All the major programming types (imperative, object-oriented, functional, logic, and distributed) are covered. Practical emphasis is placed on implementation and optimization techniques, which includes tools for automating compiler design.
Author(s): Dick Grune, Kees van Reeuwijk, Henri E. Bal, Ceriel J.H. Jacobs, Koen Langendoen
Edition: 2nd
Publisher: Springer
Year: 2012
Language: English
Pages: 822
Front Matter....Pages i-xxi
Introduction....Pages 1-51
Front Matter....Pages 53-53
Program Text to Tokens — Lexical Analysis....Pages 55-114
Tokens to Syntax Tree — Syntax Analysis....Pages 115-206
Front Matter....Pages 207-207
Grammar-based Context Handling....Pages 209-259
Manual Context Handling....Pages 261-296
Front Matter....Pages 297-297
Interpretation....Pages 299-312
Code Generation....Pages 313-362
Assemblers, Disassemblers, Linkers, and Loaders....Pages 363-384
Optimization Techniques....Pages 385-459
Front Matter....Pages 461-461
Explicit and Implicit Memory Management....Pages 463-507
Front Matter....Pages 509-509
Imperative and Object-Oriented Programs....Pages 511-616
Functional Programs....Pages 617-675
Logic Programs....Pages 677-736
Parallel and Distributed Programs....Pages 737-781
Back Matter....Pages 783-822