Constructing Language Processors for Little Languages / Edition 1

Constructing Language Processors for Little Languages / Edition 1

by Randy M. Kaplan, Kaplan
     
 

This unique book is an extremely practical, step-by-step guide to developing language processors. At the same time, it tells you everything you need to know to build, from scratch, custom-made little languages that will considerably streamline your programming chores. Long on nuts-and-bolts, hands-on guidance with just enough theory, the book is packed with specific… See more details below

Overview

This unique book is an extremely practical, step-by-step guide to developing language processors. At the same time, it tells you everything you need to know to build, from scratch, custom-made little languages that will considerably streamline your programming chores. Long on nuts-and-bolts, hands-on guidance with just enough theory, the book is packed with specific real-world examples of all topics covered, and is organized around the design, development, debugging, and implementation of an interpreter and compiler to process a little language for storing, retrieving, and manipulating images. An excellent guide for seasoned programmers who need to develop special purpose languages and the processors needed to run them, Constructing Language Processors for Little Languages is also a superior introduction to the basics of building compilers and interpreters for students and beginners.

Product Details

ISBN-13:
9780471597537
Publisher:
Wiley
Publication date:
08/23/1994
Edition description:
New Edition
Pages:
464
Product dimensions:
9.25(w) x 7.50(h) x 0.94(d)

Table of Contents

Preface
Ch. 0Introduction1
Ch. 1An Introduction to Little Languages9
Ch. 2Designing a Little Language35
Ch. 3Formal Considerations: Language and Grammars55
Ch. 4Lexical Analysis and Parsing77
Ch. 5The Architecture of a Language Processor115
Ch. 6Nodes and Pointers: Data Structures for the Language Processor129
Ch. 7Implementation of the Lexical Analyzer and Parser153
Ch. 8lex and yacc221
Ch. 9Executing the Translated Program: Interpretation and Compilation259
Ch. 10Other Issues313
Appendix A. Data Structures337
Appendix B. Lexical Analyzer, Parser, Interpreter, and Compiler347
Appendix C. Instructions for Using the Source Code Disk419
Glossary427
Index443

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >