Online Library TheLib.net » Compiler Construction
cover of the book Compiler Construction

Ebook: Compiler Construction

00
27.01.2024
0
0

Compilers and operating systems constitute the basic interfaces between a programmer and the machine for which he is developing software. In this book we are concerned with the construction of the former. Our intent is to provide the reader with a firm theoretical basis for compiler construction and sound engineering principles for selecting alternate methods, imple­ menting them, and integrating them into a reliable, economically viable product. The emphasis is upon a clean decomposition employing modules that can be re-used for many compilers, separation of concerns to facilitate team programming, and flexibility to accommodate hardware and system constraints. A reader should be able to understand the questions he must ask when designing a compiler for language X on machine Y, what tradeoffs are possible, and what performance might be obtained. He should not feel that any part of the design rests on whim; each decision must be based upon specific, identifiable characteristics of the source and target languages or upon design goals of the compiler. The vast majority of computer professionals will never write a compiler. Nevertheless, study of compiler technology provides important benefits for almost everyone in the field . • It focuses attention on the basic relationships between languages and machines. Understanding of these relationships eases the inevitable tran­ sitions to new hardware and programming languages and improves a person's ability to make appropriate tradeoft's in design and implementa­ tion .








Content:
Front Matter....Pages i-xiv
Introduction and Overview....Pages 1-14
Properties of Programming Languages....Pages 15-45
Properties of Real and Abstract Machines....Pages 46-84
Abstract Program Representations....Pages 85-101
Elements of Formal Systems....Pages 102-134
Lexical Analysis....Pages 135-148
Parsing....Pages 149-182
Attribute Grammars....Pages 183-219
Semantic Analysis....Pages 220-252
Code Generation....Pages 253-281
Assembly....Pages 282-301
Error Handling....Pages 302-325
Optimization....Pages 326-357
Implementing the Compiler....Pages 358-382
Back Matter....Pages 382-447



Content:
Front Matter....Pages i-xiv
Introduction and Overview....Pages 1-14
Properties of Programming Languages....Pages 15-45
Properties of Real and Abstract Machines....Pages 46-84
Abstract Program Representations....Pages 85-101
Elements of Formal Systems....Pages 102-134
Lexical Analysis....Pages 135-148
Parsing....Pages 149-182
Attribute Grammars....Pages 183-219
Semantic Analysis....Pages 220-252
Code Generation....Pages 253-281
Assembly....Pages 282-301
Error Handling....Pages 302-325
Optimization....Pages 326-357
Implementing the Compiler....Pages 358-382
Back Matter....Pages 382-447
....
Download the book Compiler Construction for free or read online
Read Download
Continue reading on any device:
QR code
Last viewed books
Related books
Comments (0)
reload, if the code cannot be seen