A Practical Approach to Compiler Construction
β Scribed by Des Watson (auth.)
- Publisher
- Springer International Publishing
- Year
- 2017
- Tongue
- English
- Leaves
- 263
- Series
- Undergraduate Topics in Computer Science
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
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 theflex and bison compilerconstruction 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.
β¦ Table of Contents
Front Matter....Pages i-xv
Introduction....Pages 1-12
Compilers and Interpreters....Pages 13-36
Lexical Analysis....Pages 37-73
Approaches to Syntax Analysis....Pages 75-93
Practicalities of Syntax Analysis....Pages 95-139
Semantic Analysis and Intermediate Code....Pages 141-175
Optimisation....Pages 177-203
Code Generation....Pages 205-234
Implementation Issues....Pages 235-245
Back Matter....Pages 247-254
β¦ Subjects
Programming Languages, Compilers, Interpreters;Coding and Information Theory
π SIMILAR VOLUMES
This book provides a practically-oriented introduction to high-level programming language implementation. It demystifies what goes on within a compiler and stimulates the readers interest in compiler design, an essential aspect of computer science. Programming language analysis and translation techn
ΠΠ·Π΄Π°ΡΠ΅Π»ΡΡΡΠ²ΠΎ Π½Π΅ΠΈΠ·Π²Π΅ΡΡΠ½ΠΎ β 2003 Π³ΠΎΠ΄ β 246 Ρ.<br/>(ΠΠ½ΠΈΠ³Π° Π½Π° Π°Π½Π³Π»ΠΈΠΉΡΠΊΠΎΠΌ ΡΠ·ΡΠΊΠ΅)<div class="bb-sep"></div>Plenty of literature is available to learn about compiler construction,<br/>but most of it is either too easy, covering only the very basics, or<br/>too di cult and accessible only to academics. We n