A Practical Approach to Compiler Construction - Des Watson

A Practical Approach to Compiler Construction

(Autor)

Buch | Softcover
XV, 254 Seiten
2017 | 1st ed. 2017
Springer International Publishing (Verlag)
978-3-319-52787-1 (ISBN)
48,14 inkl. MwSt

This book provides a practically-oriented introduction to high-level programming language implementation. It demystifies what goes on within a compiler and stimulates the reader's interest in compiler design, an essential aspect of computer science. Programming language analysis and translation techniques are used in many software application areas.

A Practical Approach to Compiler Construction covers the fundamental principles of the subject in an accessible way. It presents the necessary background theory and shows how it can be applied to implement complete compilers. A step-by-step approach, based on a standard compiler structure is adopted, presenting up-to-date techniques and examples. Strategies and designs are described in detail to guide the reader in implementing a translator for a programming language.

A simple high-level language, loosely based on C, is used to illustrate aspects of the compilation process. Code examples in C are included, together with discussion and illustration of how this code can be extended to cover the compilation of more complex languages. Examples are also given of the use of the flex and bison compiler construction tools. Lexical and syntax analysis is covered in detail together with a comprehensive coverage of semantic analysis, intermediate representations, optimisation and code generation. Introductory material on parallelisation is also included.

Designed for personal study as well as for use in introductory undergraduate and postgraduate courses in compiler design, the author assumes that readers have a reasonable competence in programming in any high-level language.

 

Des Watson works in the field of compiler design and development. He has extensive experience in research and both undergraduate and postgraduate teaching in programming language design and implementation at the University of Sussex, UK. He also works with commercial organisations, particularly in the field of compiler optimisation of code for embedded systems.

Preface.- List of Figures.- Introduction.- Compilers and Interpreters.- Lexical Analysis.- Approaches to Syntax Analysis.- Practicalities of Syntax Analysis.- Semantic Analysis and Intermediate Code.- Optimisation.- Code Generation.- Implementation Issues.- Appendix: The DL Language.- Index  

 "I found this book easy to read, with relevant examples and a good set of references. For me, its most interesting feature is the strategy used to support a particular audience: people who need to process text but will not write production compilers. The material itself has been standard for 30 years." (Computing Reviews, August, 2017)

"The book is an excellent resource for anyone who is looking for an introduction to the basic structure and concepts of a compiler. Better-suited works are available for an in-depth analysis." (Jonas Devlieghere, Computing Reviews , February, 16, 2018)

Erscheinungsdatum
Reihe/Serie Undergraduate Topics in Computer Science
Zusatzinfo XV, 254 p. 26 illus.
Verlagsort Cham
Sprache englisch
Maße 155 x 235 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Theorie / Studium Compilerbau
Informatik Theorie / Studium Kryptologie
Schlagworte code generation • Coding and information theory • Coding theory and cryptology • Compiler Construction • Compilers and interpreters • Computer Science • Information Theory • Interpreters • Programming and scripting languages: general • Programming Language Implementation • Programming languages, compilers, interpreters • syntax analysis
ISBN-10 3-319-52787-8 / 3319527878
ISBN-13 978-3-319-52787-1 / 9783319527871
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Grundlagen und Anwendungen

von Hanspeter Mössenböck

Buch | Softcover (2024)
dpunkt (Verlag)
29,90
a beginner's guide to learning llvm compiler tools and core …

von Kai Nacke

Buch | Softcover (2024)
Packt Publishing Limited (Verlag)
47,35