Compiler Design: Simply In Depth

Description

This book is an introduction to the field of compiler construction. It combines a detailed study of the theory underlying the modern approach to compiler design, together with many practical examples, and a complete description, with source code, of a compiler for a small language. It is specifically designed for use in an introductory course on compiler design or compiler construction at the advanced undergraduate level. This textbook is intended for an introductory course on Compiler Design, suitable for use in an undergraduate programme in computer science or related fields.

This book undertakes to provide the proper balance between theory and practice, and to provide enough actual implementation detail to give a real flavor for the techniques without overwhelming the reader. In this text, I have provided a complete design of a compiler using the different techniques studied in each chapter.

This textbook is suitable for use in an undergraduate programme in computer science or related fields. All phases required for translating a high-level language to machine language is covered, including lexing, parsing, intermediate-code generation, machine-code generation and register allocation. Interpretation is covered briefly. Aiming to be neutral with respect to implementation languages, algorithms are presented in pseudo-code rather than in any specific programming language, and suggestions for implementation in several different language flavors are in many cases given. The techniques are illustrated with adequate and suitable examples.
Simply In Depth.......

Author Bio

Ajit Singh

Ajit Singh is skilled in various kinds of academic research in the field of Computer Science and has 20+ Years of strong teaching experience for Under Graduate and Post Graduate courses of Computer Science across several colleges of Patna University & NIT Patna, INDIA.