Introduction to Compiler Design

2nd ed. 2017 Edition

By Torben Ægidius Mogensen

ISBN: 3319669656
Publisher: Springer
Year: 2017
Pages: 279

About This Book

This revised edition of 'Introduction to Compiler Design' offers an in-depth exploration of the principles and techniques necessary for building effective compilers for simple programming languages. Readers will delve into essential topics such as loop optimization, function call optimization, and dataflow analysis, which are crucial for enhancing compiler efficiency. The book systematically covers all necessary phases for transforming high-level code into symbolic machine language, including lexing, parsing, type checking, intermediate-code generation, and machine-code generation. With an emphasis on practical implementation, the author presents algorithms in pseudo-code, making it accessible for learners of various programming backgrounds while providing guidance on applying these concepts in real-world programming languages. Ideal for both undergraduate and graduate courses, this text not only presents theoretical concepts but also bridges the gap to practical application, ensuring that students grasp the complexities of compiler design. By engaging with this book, readers will gain a solid foundation and the tools needed to tackle advanced compiler topics confidently, making it a valuable addition to any computer science curriculum.

Product Details

Publisher Springer
Publication date January 1, 2017
Language English
Print length 279 pages
ISBN-10 3319669656
ISBN-13 978-3319669656
Item Weight 0.99 pounds

Editorial Reviews

Editorial Review

From the Back CoverThe second edition of this textbook has been fully revised and adds material about loop optimisation, function call optimisation and dataflow analysis. It presents techniques for making realistic compilers for simple programming languages, using techniques that are close to those used in "real" compilers, albeit in places slightly simplified for presentation purposes. All phases required for translating a high-level language to symbolic machine language are covered, including lexing, parsing, type checking, intermediate-code generation, machine-code generation, register allocation and optimisation, interpretation is covered briefly. Aiming to be neutral with respect to implementation languages, algorithms are presented in pseudo-code rather than in any specific programming language, but suggestions are in many cases given for how these can be realised in different language flavours. The second edition of this textbook has been fully revised and adds material about loop optimisation, function call optimisation and dataflow analysis. It presents techniques for making realistic compilers for simple programming languages, using techniques that are close to those used in "real" compilers, albeit in places slightly simplified for presentation purposes. All phases required for translating a high-level language to symbolic machine language are covered, including lexing, parsing, type checking, intermediate-code generation, machine-code generation, register allocation and optimisation, interpretation is covered briefly. Aiming to be neutral with respect to implementation languages, algorithms are presented in pseudo-code rather than in any specific programming language, but suggestions are in many cases given for how these can be realised in different language flavours. Introduction to Compiler Design is intended for an introductory course in compiler design, suitable for both undergraduate and graduate courses depending on which chapters are used. About the AuthorThe author has taught programming language design, implementation, and transformation at the University of Copenhagen for more than two decades.
Shipping set per seller
Compare book + shipping totals for each offer
Seller-error returns
Returns accepted for seller errors. Ask the seller about change-of-mind returns
Partner purchases
MedicalBook.online handles payment, shipping and returns for its orders
Email Support
[email protected] for buyers and sellers