Paperback
Build your own compiler: from lexical analysis to code generation.

Compiler Construction

Fundamentals and Applications

  • Paperback

    251 pages

  • Release Date

    29 April 2025

Summary

Compiler Construction: From MicroJava to Bytecode

This textbook delves into the core principles of compiler construction, guiding you from the initial stages of lexical analysis and syntax analysis through semantic processing and all the way to code generation.

Using a simplified Java-like language, MicroJava, as a practical, running example, the book demonstrates the creation of a compiler that produces executable bytecode akin to Java’s. Explore key concepts such as the use of attributed grammars to define translation processes and leverage a compiler generator for automated compiler component creation.

While focusing on top-down parsing with recursive descent for syntax analysis, the book also provides insight into bottom-up parsing techniques. All code examples are presented in Java for clarity and ease of implementation.

Resources:

  • Comprehensive PowerPoint slides for an introductory compiler course.
  • Sample solutions to over 70 exercises, designed to reinforce chapter content.
  • Complete source code for the MicroJava compiler and additional code samples.
  • The open-source compiler generator Coco/R (executable and source code).

Target Audience:

This book is ideal for Computer Science students, related fields, and practitioners who wish to implement compiling techniques in their work, such as developing software tools. It is suitable as a textbook for introductory compiler courses, providing a solid foundation for more advanced studies in compiler optimization.

Book Details

ISBN-13:9783031848124
ISBN-10:3031848128
Author:Hanspeter Mössenböck
Publisher:Springer International Publishing AG
Imprint:Springer International Publishing AG
Format:Paperback
Number of Pages:251
Release Date:29 April 2025
Dimensions:168mm x 240mm
A-Format
B-Format
C-Format
Compiler Construction by Hanspeter Mössenböck - ISBN: 9783031848124
168 × 240 mm
A4
mm / in
About The Author

Hanspeter Mössenböck

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.

Returns

This item is eligible for free returns within 30 days of delivery. See our returns policy for further details.