Synopses & Reviews
A step-by-step tutorial to developing a language processor for a ``little language which can be used on any platform including DOS. The view is towards applying language processor techniques, using them across diverse languages and providing procedures for designing programming languages. Details how to build a compiler for a little language that you can design, along with numerous examples of code to demonstrate how to implement your own language processor. Disk with interpreter and utilities developed in the book is available separately or in a set.
Table of Contents
An Introduction to Little Languages.
Designing a Little Language.
Formal Considerations: Language and Grammars.
Lexical Analysis and Parsing.
The Architecture of a Language Processor.
Nodes and Pointers: Data Structures for the Language Processor.
Implementation of the Lexical Analyzer and Parser.
lex and yacc.
Executing the Translated Program: Interpretation and Compilation.
Other Issues.
Appendices.
Glossary.
Index.