Compiler Construction: Fundamentals and Applications
This textbook covers the fundamentals of compiler construction, from lexical analysis and syntax analysis to semantic processing and code generation. As a running example, a compiler for a simple Java-like programming language (MicroJava) is described and developed. It generates executable bytecode similar to Java bytecode. Other topics include the description of translation processes using attributed grammars and the use of a compiler generator to automatically generate the core parts of a compiler. For syntax analysis, the book concentrates on top-down parsing using recursive descent, but also describes bottom-up parsing. All code examples are presented in Java.

A companion web page contains a full set of PowerPoint slides for an introductory compiler course, sample solutions for more than 70 exercises provided at the end of each chapter to practice and reinforce the content of that chapter, and the full source code of the MicroJava compiler as well as other code samples. In addition, the open-source compiler generator Coco/R described in the book is provided as an executable and in source code.

The book targets both students of Computer Science or related fields as well as practitioners who want to apply basic compiling techniques in their daily work, e.g., when crafting software tools. It can be used as a textbook for an introductory compiler course on which more advanced courses on compiler optimizations can be based.

1146827950
Compiler Construction: Fundamentals and Applications
This textbook covers the fundamentals of compiler construction, from lexical analysis and syntax analysis to semantic processing and code generation. As a running example, a compiler for a simple Java-like programming language (MicroJava) is described and developed. It generates executable bytecode similar to Java bytecode. Other topics include the description of translation processes using attributed grammars and the use of a compiler generator to automatically generate the core parts of a compiler. For syntax analysis, the book concentrates on top-down parsing using recursive descent, but also describes bottom-up parsing. All code examples are presented in Java.

A companion web page contains a full set of PowerPoint slides for an introductory compiler course, sample solutions for more than 70 exercises provided at the end of each chapter to practice and reinforce the content of that chapter, and the full source code of the MicroJava compiler as well as other code samples. In addition, the open-source compiler generator Coco/R described in the book is provided as an executable and in source code.

The book targets both students of Computer Science or related fields as well as practitioners who want to apply basic compiling techniques in their daily work, e.g., when crafting software tools. It can be used as a textbook for an introductory compiler course on which more advanced courses on compiler optimizations can be based.

59.99 Pre Order
Compiler Construction: Fundamentals and Applications

Compiler Construction: Fundamentals and Applications

by Hanspeter Mössenböck
Compiler Construction: Fundamentals and Applications

Compiler Construction: Fundamentals and Applications

by Hanspeter Mössenböck

Paperback

$59.99 
  • SHIP THIS ITEM
    Available for Pre-Order. This item will be released on May 21, 2025

Related collections and offers


Overview

This textbook covers the fundamentals of compiler construction, from lexical analysis and syntax analysis to semantic processing and code generation. As a running example, a compiler for a simple Java-like programming language (MicroJava) is described and developed. It generates executable bytecode similar to Java bytecode. Other topics include the description of translation processes using attributed grammars and the use of a compiler generator to automatically generate the core parts of a compiler. For syntax analysis, the book concentrates on top-down parsing using recursive descent, but also describes bottom-up parsing. All code examples are presented in Java.

A companion web page contains a full set of PowerPoint slides for an introductory compiler course, sample solutions for more than 70 exercises provided at the end of each chapter to practice and reinforce the content of that chapter, and the full source code of the MicroJava compiler as well as other code samples. In addition, the open-source compiler generator Coco/R described in the book is provided as an executable and in source code.

The book targets both students of Computer Science or related fields as well as practitioners who want to apply basic compiling techniques in their daily work, e.g., when crafting software tools. It can be used as a textbook for an introductory compiler course on which more advanced courses on compiler optimizations can be based.


Product Details

ISBN-13: 9783031848124
Publisher: Springer Nature Switzerland
Publication date: 05/21/2025
Pages: 251
Product dimensions: 6.61(w) x 9.45(h) x (d)

About the Author

Hanspeter Mössenböck is Professor of Computer Science at the Johannes Kepler University Linz and has been involved with programming languages and compilers for many years. For more than 20 years, he has been working with Oracle Labs in the field of dynamic compiler optimization for Java and other programming languages. Many of the techniques developed at his institute are now used in Java systems worldwide. He is the author of several books on Java, C#, .NET and compiler-generating systems.

Table of Contents

1. Overview.- 2. Lexical Analysis.- 3. Syntax Analysis.- 4. Attributed Grammars.- 5. Symbol Table.- 6. Code Generation.- 7. The Compiler Generator Coco/R.- 8. Bottom-up Syntax Analysis.

From the B&N Reads Blog

Customer Reviews