內容提要
This exciting new book combines a detailed study of modern theories of compiler design with a complete description (with source code)of a working compiler for a small language.The book reflects the author's conviction that practical aspects of compiler design cannot be understood without a grasp of theory,and that theory cannot be truly comprehended by undergraduate students without seeing it put into actual practice.Unifying the text's discussion of concepts is a complete working compiler written in C and developed using the techniques discussed in each chapter.
Extensive exercise sets at the end of each chapter focus student's attention on specific programming problems.
圖書目錄
l INTRODUCTION
l.1 Why Compilers A Brief History
1.2 Programs Related to Compilers 4
l.3 The Translation Process 7
l.4 Major Data Structures in a Compiler l3
1.5 Other Issues in Compiler Structure 14
l.6 Bootstrapping and Porting 18
l.7 The TI... [顯示全部]