Writing Compilers and Interpreters

Writing Compilers and Interpreters : A Software Engineering Approach

3.62 (8 ratings by Goodreads)
By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 2 business days
When will my order arrive?


Long-awaited revision to a unique guide that covers both compilers and interpreters Revised, updated, and now focusing on Java instead of C++, this long-awaited, latest edition of this popular book teaches programmers and software engineering students how to write compilers and interpreters using Java. You'll write compilers and interpreters as case studies, generating general assembly code for a Java Virtual Machine that takes advantage of the Java Collections Framework to shorten and simplify the code. In addition, coverage includes Java Collections Framework, UML modeling, object-oriented programming with design patterns, working with XML intermediate code, and more.show more

Product details

  • Paperback | 864 pages
  • 187.96 x 231.14 x 53.34mm | 1,247.37g
  • John Wiley and Sons Ltd
  • John Wiley & Sons Ltd
  • Chichester, United Kingdom
  • English
  • Revised
  • 3rd Revised edition
  • 0470177071
  • 9780470177075
  • 415,654

Back cover copy

Master the skills you need to build your own compilers and interpreters Compilers and interpreters are very difficult programs to write, but modern software engineering tackles the complexity. Design patterns and other object-oriented programming techniques guide you to develop well-structured code in incremental, understandable steps. Apply what you learn in this book to succeed with any complex software project. You'll learn to: Use Java to develop scanners and parsers for programming languages Employ UML to model software components Manage symbol tables with the Java Collections Framework Use XML to represent the generated intermediate code Develop an interpreter to execute programs, including a powerful interactive source-level debugger Implement an integrated development environment (IDE) that animates the execution of programs Use the IDE's graphical user interface to set breakpoints and single-step programs statement by statement with mouse clicks Develop a code generator that emits object code for the Java Virtual Machine (JVM), and run the compiled code on multiple platformsshow more

About Ronald Mak

Ronald Mak wrote the earlier editions of this very successful book as well as The Martian Principles for Successful Enterprise Systems: 20 Lessons Learned from NASA's Mars Exploration Rover Mission (also published by Wiley). He is also the author of Java Number Cruncher: The Java Programmer's Guide to Numerical Computing . He develops advanced software systems for organizations from startups to NASA. Currently a research staff member at the IBM Almaden Research Center, he also teaches compiler writing and software engineering at San Jose State University.show more

Table of contents

Introduction. Chapter 1 Introduction. Chapter 2 Framework I: Compiler and Interpreter. Chapter 3 Scanning. Chapter 4 The Symbol Table. Chapter 5 Parsing Expressions and Assignment Statements. Chapter 6 Interpreting Expressions and Assignment Statements. Chapter 7 Parsing Control Statements. Chapter 8 Interpreting Control Statements. Chapter 9 Parsing Declarations. Chapter 10 Type Checking. Chapter 11 Parsing Programs, Procedures, and Functions. Chapter 12 Interpreting Pascal Programs. Chapter 13 An Interactive Source-Level Debugger. Chapter 14 Framework II: An Integrated Development Environment (IDE). Chapter 15 Jasmin Assembly Language and Code Generation for the Java Virtual Machine. Chapter 16 Compiling Programs, Assignment Statements, and Expressions. Chapter 17 Compiling Procedure and Function Calls and String Operations. Chapter 18 Compiling Control Statements, Arrays, and Records. Chapter 19 Additional Topics. Index.show more

Rating details

8 ratings
3.62 out of 5 stars
5 12% (1)
4 50% (4)
3 25% (2)
2 12% (1)
1 0% (0)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X