Normal view MARC view

A practical approach to compiler construction / Des Watson

By: Watson, Des [author]Series: Publisher: Cham : Springer, 2017Description: xv, 254 p. ; 24 cmSubject(s): Lenguajes de programación
Contents:
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
Summary: 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 subject 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 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
    Average rating: 0.0 (0 votes)
Item type Current location Collection Call number Status Date due Barcode Course reserves
Libro Libro Biblioteca Universidad Europea del Atlántico
Fondo General
No ficción 004.43 WAT pra Available 4179

Lenguajes de Programación


Incluye bibliografía e índice

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

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 subject 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 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

Click on an image to view it in the image viewer

Servicio de Biblioteca de la Universidad Europea del Atlantico | biblioteca@uneatlantico.es | Tlf: 942 244 244 Ext. 5020