Language Processing Program, Language Processing

Source: Internet
Author: User

Language Processing Program, Language Processing

During the soft exam review process, I always felt that the language processing program was very abstract and there were many mistakes when I was doing the exercises (although this part was not Doha ), summarize your weaknesses before you take the exam in Beijing.

A language processing program is a machine language program that can translate programs written in advanced or assembly languages into programs that can run on computers. That is to say, some programs that cannot directly run on a computer are processed, and these languages are called source programs, which can be directly executed by a computer after being processed by a language processing program. If you are abstract, see:

The source program is mainly written in assembly or advanced languages.

The language processing program is divided into three types: assembler, compiler, and interpreter. The principles of the following three language processing programs are described:

1. Assembly Language

Assembly Language is a machine-oriented symbolic programming language designed for a specific computer or computer system. Programs Written in assembly language are called assembly language programs. The assembly program project is to translate the source program compiled by the assembly language into a machine instruction program.

2. Compile the program and interpreter

The working principle of the program to be compiled is basically the same, but it is different when running the user program. They all translate source programs written in a certain advanced language. The details are as follows:

How the program is compiled:

The working principle of the program is as follows:


The level of intermediate code may also affect the performance. The higher the level, the closer it is to the machine language.

The difference between the two: the interpreter does not produce the target program of the source program.


Comparison between advanced language compilation and interpretation:

(1) Efficiency: compilation may be more efficient than interpretation. Because the source program can be run multiple times only after being translated by the compiled program. In addition to analyzing the syntax and semantics of the source program, the compiler also generates and optimizes the target code of the source program.

(2) flexibility. The interpretation method is more flexible than the compilation method. The interpreter needs to check the source program repeatedly.

(3) portability. The interpreter is generally written in a programming language. Therefore, you only need to re-compile the interpreter to run it in different environments.






What are common language processing programs?

ASP, ASP. NET, VB. NET, C #, VB, VB script, java Script, C, C ++, java, Html, CSS, XML, DTD, XSL, SQL, Foxpro, JSP, Servlet, PHP and so on ~~~~~~~ ·

What are common language processing programs?

ASP, ASP. NET, VB. NET, C #, VB, VB script, java Script, C, C ++, java, Html, CSS, XML, DTD, XSL, SQL, Foxpro, JSP, Servlet, PHP and so on ~~~~~~~ ·

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.