- Shopping Bag ( 0 items )
A step-by-step tutorial to developing a language processor for a &'grave;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.
"Little languages" are specialty languages that can help programmers streamline the development of specific applications. This text, written for experienced programmers, serves as a step-by-step guide to developing compilers and interpreters for "little languages."
|Ch. 1||An Introduction to Little Languages||9|
|Ch. 2||Designing a Little Language||35|
|Ch. 3||Formal Considerations: Language and Grammars||55|
|Ch. 4||Lexical Analysis and Parsing||77|
|Ch. 5||The Architecture of a Language Processor||115|
|Ch. 6||Nodes and Pointers: Data Structures for the Language Processor||129|
|Ch. 7||Implementation of the Lexical Analyzer and Parser||153|
|Ch. 8||lex and yacc||221|
|Ch. 9||Executing the Translated Program: Interpretation and Compilation||259|
|Ch. 10||Other Issues||313|
|Appendix A. Data Structures||337|
|Appendix B. Lexical Analyzer, Parser, Interpreter, and Compiler||347|
|Appendix C. Instructions for Using the Source Code Disk||419|