1. What is the rationale for compiling?
Compiling principle is an important basic course of computer specialty, including language and grammar, lexical analysis, grammar guidance translation, intermediate code generation, storage management, code optimization and target code generation, and how to do the compiler of program.
2. Why do you learn how to compile?
The compiler principle allows us to fundamentally understand the compiler, which is useful for how to improve the efficiency of the program and how to make beautiful programs. Learning the principle of compiling can let us deepen the understanding of the program, know why there is such a limitation or why the language itself so to design, in-depth understanding of how the program works in the computer, and even deepen the understanding of the hardware system.
3. How to learn the principle of compiling?
(1), the class is serious, because the compiling principle this course itself is more difficult, needs to be more earnest;
(2), more cut some of this book, such as the Dragon killer whales, textbooks should be familiar, after-school exercises to do more, think more;
(3), to do, you do a virtual machine, on the basis of the virtual machine to develop their own language and compilers, strengthen the practice, combined with theoretical learning, can be more profound understanding of the books of those abstract things;
4. Thinking: Before you learn the book theory, if you want to write a compiler, what is your idea?
You can only read more about the compilation and learn some simple content.
0909 about the compilation principle