Fr. 77.00

Compiler Construction - Fundamentals and Applications

English · Paperback / Softback

Shipping usually within 6 to 7 weeks

Description

Read more

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.

List 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.

Summary

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

Authors Hanspeter Mössenböck
Publisher Springer, Berlin
 
Original title Compilerbau
Languages English
Product format Paperback / Softback
Released 11.09.2025
 
EAN 9783031848124
ISBN 978-3-0-3184812-4
No. of pages 251
Dimensions 168 mm x 15 mm x 240 mm
Weight 465 g
Illustrations XIII, 251 p. 128 illus., 3 illus. in color.
Subjects Natural sciences, medicine, IT, technology > IT, data processing > Programming languages

Software Engineering, Programmier- und Skriptsprachen, allgemein, Programming Language, Compilers and Interpreters, MicroJava, programming languages, finite automata, Regular and Attributed Grammars, Syntax Analysis, Code Generation, Compiler Construction

Customer reviews

No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.

Write a review

Thumbs up or thumbs down? Write your own review.

For messages to CeDe.ch please use the contact form.

The input fields marked * are obligatory

By submitting this form you agree to our data privacy statement.