1. What is the rationale for compiling?
We can learn the basic knowledge of language and grammar, lexical analysis, grammatical analysis, semantic analysis and intermediate code generation, symbol table organization, storage organization and distribution at runtime, code optimization and target code generation, and learn the principles and methods of compiler.
2. Why do you learn how to compile?
Learning the same technology, not only to know it, but also to know its why, so as to cope with the continuous updating of technology, can not be eliminated by the development of technology. The principle of compiling is such a course, it teaches us not only the compiler constructs the basic principle and the process, at the same time, also teaches us how rigorous to think, writes the procedure, that is, it teaches us to think the question the method, namely the logic.
3. How to learn the principle of compiling?
Because there is no further study of the principle of compiling, not too clear the mystery, so first to prepare a preview, follow the pace of the teacher, serious lectures, do not understand the question, the class can communicate with other students, sharing learning experience.
4. Thinking: Before you learn the book theory, if you want to write a compiler, what is your idea?
To convert your language to 2 binary ....
0909 Compilation Principle Personal understanding