0909 understanding of the principles of compilation

Source: Internet
Author: User

1. What is the rationale for compiling?

A: The principle of compiling is to learn how to make a compiler, so that the code can be translated into the machine can understand the language, a variety of grammar, various lexical parsing algorithms, semantic analysis to deal with a lot of details, especially for more complex language, the final command generation, may need to read a variety of manuals, but also more boring.


2. Why do you learn how to compile?

A: Understand how a machine understands a high-level language and can understand how the code you write translates into a low-level language of the machine and runs.

3. How to learn the principle of compiling?

A: First to understand the basic knowledge of compiling principles, and then combine program code to learn, and to learn the language of compiling principles, go online to see how to learn how to compile the principles of video public class.

4. Thinking: Before you learn the book theory, if you want to write a compiler, what is your idea?

A: Writing about the language allows each character in the code to be replaced with a machine-learned language, such as subtraction, which has a corresponding language.

0909 understanding of the principles of compilation

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.