Home >Common Problem >Explain what the program does
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.
#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!