(This book describes the various building blocks of modern compilers, including lexical analysis, syntax analysis, abstract syntax, semantic detection, intermediate code representation, command selection, data flow analysis, register allocation, and runtime systems. The book is divided into two parts, the first part is the basics of compilation, suitable for the first course on compilation principles (one semester); the second part is advanced topics, including object-oriented language and functional language, garbage collection, loop optimization, SSA (static It is suitable for follow-up courses or postgraduate education. The book specifically provides students with a hands-on project written in C, including front-end and back-end design, and students can create a fully functional compiler in one semester. . The book is divided into two parts, the first part is the basic knowledge of compiling, suitable for the first course of compiling principles (one semester); the second part is advanced topics, including object-oriented language and functional language. Garbage collection, loop optimization, SSA (static single assignment) method. Cycle scheduling, storage structure optimization, etc., suitable for special lectures, follow-up courses or postgraduate education. ..
Description of modern compilation principles in C language.pdf
.....too many files .....)