Joke Collection Website - Bulletin headlines - Briefly describe what is source language, target language, and intermediate language

Briefly describe what is source language, target language, and intermediate language

1. Source language: The source language is a language that can lead to another language.

2. Target language: Target language is a method of inputting the target language using a specific language.

3. Intermediate language: It is a grammar-oriented equivalent internal representation code of the source program that is easy to translate into the target program.

1. Intermediate language

Intermediate language has nothing to do with specific machine characteristics. An intermediate language can serve to generate target code for multiple different models of target machines. Machine-independent optimization can be performed on the intermediate language, which is beneficial to improving the quality of the target code. The work of mapping the source program into intermediate code representation and then into target code is carried out in several stages to make the compilation algorithm clearer.

2. Target language

The output of the translation program is called the target program. Generally speaking, target programs are all machine language programs, and the output language is called the target language.

The target language is the language compiled or assembled from the source code. It is a language output by automatic coding programs. When information is converted from one language to another, the original language is called the source language, and the output language is called the target language. Often, the target language and the machine language can be the same, but when the coding procedure is a series of steps, then one step in the target language can be the next step in the source language.

(Source: Intermediate Language - Baidu Encyclopedia)