hey guys what are compiler and interpret er
Answers
Answered by
23
an interpreter is a program which imitates the execution of programs written in a source language.
Another difference between Compiler and interpreter is that Compiler converts thewhole program in one go on the other hand Interpreter converts the program by taking a single line at a time
rohit1980:
hiii
Answered by
2
Answer:
The simplest definition of a compiler is a program that translates code written in a high-level programming language (like JavaScript or Java) into low-level code (like Assembly) directly executable by the computer or another program such as a virtual machine.
An interpreter will typically generate an efficient intermediate representation and immediately evaluate it. Depending on the interpreter, the intermediate representation can be an AST, an annotated AST or a machine-independent low-level representation such as the three-address code.
Similar questions