Publisher: Chartwell-Bratt, 1985, 279 pages
Understanding and writing compilers for languages such as Pascal is ineteresting and rewarding. Mick Farmer gives you both insight into major areas of Compiler Physiology and practical knowledge of a working compiler for a sunset of Pascal.
Basic topics covered in this book include Grammars and Language, regular Expressions and Lexical Analysis, Top-down parsing, and Bottom-up parsing. More advanced topics discussed by the author are LR(k) Grammars and Parsers, Semantic Analysis, Code Generation, and Optimisation. Assignements at the end of each chapter guide your furtherreading and suggest modifications or extensions to the working compiler used as an example throughout the text.
Mick Farmer places great emphasis on the use of compiler writing tools and includes practical examples of the use of LEX and YACC, two such tools available on the popular UNIX operating system.
The material is based on the Compiler Writing Course taught by the author at Birkbeck College for the past three years.
If you want to be bored to death (and beyond), read this.