0909 Compilation Principle Personal understanding

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.