Home  >  Article  >  Explain what the program does

Explain what the program does

王林
王林Original
2020-08-25 14:04:3022611browse

The function of the interpreter is: interpret and execute high-level language programs. The interpreter is a type of high-level language translation program. It takes a source program written in the source language as input and interprets it into a binary code recognized by the machine. After interpreting a sentence, it is submitted to the computer for execution without forming a target program.

Explain what the program does

#The function of the interpreter is to interpret and execute high-level language programs.

(Recommended learning: java introductory tutorial)

Analysis:

The interpreter is a type of high-level language translation program that writes the source language The source program is taken as input and is interpreted into binary code recognized by the machine. After interpreting one sentence, it is submitted to the computer for execution, and it does not form a target program.

Related introduction:

The interpreter is a language processing program that works basically the same as the compiler in terms of lexical, syntactic and semantic analysis, but when running the user program, it directly Execute the source program or the internal form of the source program (intermediate code). Therefore, the interpreter does not generate the target program, which is the main difference between it and the compiler.

The above is the detailed content of Explain what the program does. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn