Constructing Language Processors for Little Languages

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.

Twitter Feed

  • rohan_p RT @Techworld_AU: Gear and gadgets at @CeBITAUS 2012, Sydney http://t.co/J1Sch1sX #cebit2012
  • Techworld_AU Gear and gadgets at @CeBITAUS 2012, Sydney http://t.co/J1Sch1sX #cebit2012
  • HamishBarwick CeBIT 2012: Will NBN speed up freight delivery times? http://t.co/gaZyjOlH #cw #cio #tw #CeBIT2012 #nbn
  • HamishBarwick CeBIT 2012: NAB calls for mobile app security overhaul http://t.co/3Z3ZPUPq #cw #cio #tw #CeBIT2012 #infosec
  • rohan_p RT @Techworld_AU: BigPond Games Arena, Games Shop hit by hackers http://t.co/OXNPeDfL #bigpond #infosec #security