First, what is the principle of compiling
Compilers are computer programs that translate assembly or advanced computer languages into binary machine language codes. The compiler writes the program written by the source language as input, translating the equivalent program of the target language's machine code to language. In general, the source program is a high-level language (high-level language), such as C or C + +, Chinese language programs, and the target is the machine language target code (object, sometimes called machine code), This is the machine code software program that can be run in computer hardware. This process can be expressed as: source program → compiler → Target machine code program II. What are the benefits of learning the compiler principle when you really finish the compiling principle, you will have a deeper understanding of the program and programming language you are writing, and this kind of understanding can make you stand very different heights, and know the process method theory of compiling. You can lay the groundwork for future learning, and the compiler principle is not just for writing compilers, but also for applications in many unexpected areas. Third, do not learn what loss may always be to all kinds of compiler to the people as slaves, that writing procedures only according to their design philosophy of language to do. Four, how to learn the principles of compiling C language, do not require familiarity, but at least to understand the idea of pointers. Learning data structures, especially for string/tree/graph related basic processing means to be very familiar. Listen carefully in class, there are problems to communicate with classmates, together to solve the problem. You can also ask for help from the teacher.
Compilation principle Experience