LIBRISTO
LIBROAMANTO
mandatory
Become part of a community of book lovers from all over the world and get access to a whole bunch of benefits. Create an account for free
0
Free delivery for purchases over 69.99 €
DPD courier 6.49 € Bpost point 8.49 € Bpost 7.99 € DPD point 3.99 € GLS courier 5.49 €

Free delivery for orders over 69.99 euro.

Compiler Construction

A Practical Approach

Language EnglishEnglish
Book Paperback
Book Compiler Construction Jan Willem Haaring
Libristo code: 54397276
Publishers Independently published, October 2026
Learn how a compiler really works by building one, from the first character of source code to runnin... Full description
? points 50 b Coming soon Coming soon New New
20.39 €
Expected in stock Expected 10. 11. 2026

Up to 30 days for returns

Learn how a compiler really works by building one, from the first character of source code to running x86 assembly.

Many books on compiler construction either cover only the basics or are written for academics. This book takes the practical route. It designs a small but complete programming language, Inger, and shows step by step how to write a working compiler for it. It pays particular attention to code generation, the part most other books cover least.

Every phase of the compiler is explained in turn, with practical advice on how to approach each one:

  • Language design: the Inger language, defined with syntax diagrams and a full BNF grammar
  • Lexical analysis: regular expressions, and scanners built with flex
  • Grammars and parsing: context-free grammars, LL(1) grammars and recursive descent parsing
  • Preprocessing and error recovery: handling imports, and reporting and recovering from syntax errors
  • Semantic analysis: symbol tables, type checking and coercion, and other semantic checks
  • Code generation: generating 32-bit x86 assembly from the abstract syntax tree using code templates, including the templates for every statement and operator in the language
This second edition has been thoroughly revised:
  • The text has been corrected throughout.
  • All figures have been redrawn.
  • Every code listing and sample program has been checked against the real compiler, and the output shown in the book is the output the programs actually produce.
  • The Inger compiler itself has been completed and modernized. It now builds with current, free tools (GCC, flex, CMake, Docker), and its source code is freely available at gitlab.com/henck/inger, so you can read, build and extend the compiler as you read the book.
This book is for computer science students, for programmers who want to understand what happens inside the tools they use every day, and for anyone who has wanted to write their own programming language. A working knowledge of C is useful; no prior knowledge of compilers is needed.

Actress & Polyglot
EWA KASP for
Play video
Ewa Kasp
Libristo has the largest selection of foreign-language books. That’s why I buy my books there.

About the book

Full name Compiler Construction
Language English
Binding Book - Paperback
Date of issue 2026
Number of pages 262
EAN 9798166649058
Libristo code 54397276
Weight 462
Dimensions 178 x 254 x 14
Give this book today
It's easy
1 Add to cart and choose Deliver as present at the checkout 2 We'll send you a voucher 3 The book will arrive at the recipient's address

Login

Log in to your account. Don't have a Libristo account? Create one now!

 
mandatory
mandatory

Don’t have an account? Discover the benefits of having a Libristo account!

With a Libristo account, you'll have everything under control.

Create a Libristo account
Book advisor Libroamiko
Hi, I'm Libroamiko, can I help?