Jump to ratings and reviews
Rate this book

Writing Compilers and Interpreters

Rate this book
Quickly master all the skills you need to build your own compilers and interpreters in C++

Whether you are a professional programmer who needs to write a compiler at work or a personal programmer who wants to write an interpreter for a language of your own invention, this book quickly gets you up and running with all the knowledge and skills you need to do it right. It cuts right to the chase with a series of skill-building exercises ranging in complexity from the basics of reading a program to advanced object-oriented techniques for building a compiler in C++.

Here's how it

Every chapter contains anywhere from one to three working utility programs that provide a firsthand demonstration of concepts discussed, and each chapter builds upon the preceding ones. You begin by learning how to read a program and produce a listing, deconstruct a program into tokens (scanning), and how to analyze it based on its syntax (parsing). From there, Ron Mak shows you step by step how to build an actual working interpreter and an interactive debugger. Once you've mastered those skills, you're ready to apply them to building a compiler that runs on virtually any desktop computer.

Visit the Wiley Computer Books Web page

Paperback

First published January 1, 1991

33 people are currently reading
202 people want to read

About the author

Ronald Mak

9 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
21 (30%)
4 stars
29 (41%)
3 stars
13 (18%)
2 stars
6 (8%)
1 star
1 (1%)
Displaying 1 - 5 of 5 reviews
Profile Image for Amr Hesham.
46 reviews5 followers
January 20, 2021
A good book to practice multi topics in the same project compiler, oop principles, design pattern, and teach you how debugger and IDE created, But the problem is in some chapters the code is not complete and I recommend to start with Crafting Interpreter or Modern Compiler Implementation
Profile Image for William Cruise.
18 reviews8 followers
August 20, 2019
This would be a 5 star review, but the code examples get harder and harder to follow in later chapters, since the code listings are not complete in the text. Still, it gives excellent instruction on how to write a lexer, parser, interpreter, and compiler in Java.
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.