Compiler Principles (University)

Author: Li Dongmei
Publisher:
Publish Date: 2006-08-01
Features: This book systematically and comprehensively introduces the construction principles and implementation techniques of compilers. The main content includes: basic knowledge of formal languages, lexical analysis, syntax analysis, semantic analysis and Chinese code generation, symbol table management and error handling, runtime storage organization and allocation, code optimization and target code generation, etc. While introducing the principles and methods of compilers, it also provides a specific implementation process of a small-scale compiler—the PL/0 compiler, and gives a detailed introduction to the functions and usage methods of common parser automatic generation tools (LEX and YACC). In the appendix, the C language version and LEX/YACC version of the PL/0 compiler are provided separately, closely integrating theory with practice. The book is systematic, with content progressing in a logical order, rich in examples. The description of algorithms is clear and easy to understand, with concise and accessible language. Each chapter is accompanied by various types of exercises, facilitating both teaching and self-study. This book can be used as a textbook for undergraduate students in computer science and related fields in higher education institutions, as well as a reference book for teachers and computer software engineering technicians.

📌 Related Posts