Compiler Principles

Author: Zhang Suqin, Lü Yingzhi, Jiang Wei, Du Gui
Publisher:
Publish Date: 2005-02-01
Features: This series of textbooks has grown alongside the rapid development of computer science and technology for over two decades, receiving 29 ministerial-level awards such as the National Science and Technology Progress Award and the National Excellent Teaching Material Special Prize. It has been selected as a teaching material by hundreds of universities with excellent teaching results. Now, after revision and the addition of new products and content, it covers the main courses for undergraduate and master's students. This series of textbooks features a complete system, rigorous structure, theoretical integration with practice, and emphasis on quality cultivation.
· Provides a simple yet representative compiler with source code (in both C and Pascal) and analysis tools to clearly demonstrate the basic components and implementation techniques of a compiler. With this textbook, students can extend the compiler using high-level languages or re-implement it using compiler generation tools.
· Key concepts are explained with typical examples.
· Focusing on the syntax and semantic features of object-oriented languages, it emphasizes discussing compiler implementation techniques and the approach to constructing object-oriented compilers based on classes and class inheritance structures, facilitating readers' understanding of general reusable software architectures.
This book introduces the general construction principles, basic implementation techniques, and some automatic construction tools of compiler systems. It mainly consists of language fundamentals, lexical analysis, syntax analysis, intermediate code generation, code optimization, target code generation, symbol table construction, and runtime memory space organization. While introducing the basic principles of compiler construction, the book also presents the structure and text of the "PL/0 Language Compiler" and introduces the usage methods and examples of LEX and YACC.
This book is intended as a textbook for undergraduate students in computer science and technology at universities and can also serve as a reference for teachers, graduate students, and software engineering professionals.

📌 Related Posts