1. Compiling principle is an important specialized course of computer speciality, which aims to introduce the general principle and basic method of compiling program construction. The content includes language and grammar, lexical analysis, parsing, grammar-guided translation, intermediate code generation, storage management, code optimization, and target code generation. The compiling principle is an important specialized course of computer professional setup. Although only a few people engaged in the work of compiling, but this course in theory, technology, methods to provide students with systematic and effective training, to improve the quality and ability of software personnel.
2. The principle of compiling is a very mature branch of computer science and technology, which perfectly combines principles and techniques, and is very helpful in understanding the nature of computers.
The principle of compiling is a very mature branch of computer science and technology, it is very perfect to combine the principle and technology, it is very helpful to understand the nature of the computer.
Many of the design ideas of compiling principles can be used in the program you design:
For example, if you want to write a program for the parsing and parsing of a text, then the knowledge of compiling principles can help you to accomplish it.
Or maybe you can write a program that automatically generates a menu or interface, you need to customize a very simple scripting language and parse it, and the compiler principle can help you do that.
In short, the application of the compiler principle of the field is very extensive, the principle of compiling is not only used to do compilers;
In addition, the compilation principle contains a lot of ingenious design ideas, as a CS students, of course, it is necessary to learn it.
3. Do not learn the principle of compiling, may always give a variety of compiler to the people as slaves, that writing procedures only according to their design language philosophy to do. Learn the compiler principle, not necessarily to write their own language, but at least can be a lot of other programmers think cool things to see a bit, will not be the design of programming language to deceive too much.
4. Be prepared, do not fear, the book did not understand it does not matter, to see a few times, or even dozens of times, there is a saying: book read times, its righteousness from See, but also combined with the textbook behind the exercises to do more thinking and analogy, these are the most basic way, in the process of learning to induce their own difficulties and doubts, , DIY a virtual machine, on the basis of virtual machines to develop their own language and compilers, strengthen the practice, the main purpose is to combine theoretical learning, in order to more deeply understand the books of those abstract things.
About the compilation principle