Joke Collection Website - Bulletin headlines - In the compilation principle, what is the source language, what is the target language, what is the translator, what is the compiler, what is the interpreter and what is the T-shape.

In the compilation principle, what is the source language, what is the target language, what is the translator, what is the compiler, what is the interpreter and what is the T-shape.

In the process of vc translating c/c++ code into asm file.

C/c++ is the source language asm, the target language vc, and the translator.

Vc compiles asm into an obj file and finally links it into a binary file in the library file. Vc is a compiler.

You need to run a java virtual machine in java. For example, Sun's is an interpreter.

C language a machine c language b machine c language b machine

Machine c language machine

Figures a, b and c

In the above figure, figure (a) is the existing compiler, figure (c) is the compiler to be acquired, and figure (b) is the compiler to be written. As long as (b) is compiled on (a), (c) can be obtained.

For example.

Compiler A is an existing compiler, which translates C language into a compiler that can run on intel mainframes. We hope to get a compiler to translate C language into a compiler that can run on the Apple mainframe. Then we only need to write a compiler B in C language, which translates C language into a compiler that can run on Apple's mainframe, and compile compiler B written in C language on compiler A to get compiler C.