![[Book Cover]](../covergif/ph_bkcvr.gif)
|
Building Your Own Compiler with C++, 1/e
James Holmes, Bethel College
Published November, 1994 by Prentice Hall Engineering/Science/Mathematics
Copyright 1995, 112 pp.
Paper
ISBN 0-13-182106-7
|
Sign up for future mailings on this subject.
See other books about:
Compiler Construction-Computer Science
|

Holmes satisfies the dual demand for an introduction to compilers
and a hands-on compiler construction project manual in Building
Your Own Compiler.
details the construction process of a fundamental, yet functional
compiler, so that students learn by actually doing.
uses C++ as the implementation language, the most popular
Object-Oriented language.
compiles a tiny subset of Pascal, resulting in source language
constructs that are already a part of most readers' experience.
offers extensive figures detailing the behavior of the compiler,
especially as it relates to the parse tree.
supplies complete source code for example compiler listed
as an appendix of the text and available by FTP.
contains 31 suggested activities distributed throughout
the 10 mini-chapters, intended to serve more as guides for student
exploration than questions to clarify ideas.
activities center around the following areas:
learning to use a C++ system development system.
developing essentially the system described in the text.
suggestions for additions to the example system.
1. Preparing the Platform.
2. Objects and Classes.
3. Analysis and Design.
4. Main Module.
5. System Control.
6. The Scanner/Parser Module.
7. Symbol Table Module.
8. Parse Tree Nodes.
9. Implementing Parse Tree Nodes.
10. Interpreter Module.
11. Emitter Module.
A Program Code.
Bibliography.
Index.
|