Saturday 13 April 2019

WHAT IS COMPILER, INTERPRETER, LOADER, AND LINKER

COMPILER, INTERPRETER, LOADER, AND LINKER

For executing a program written in a high-level language,
it must be first translated into a form the machine can
understand. This is done by a software called the compiler.
The compiler takes the high-level language program as
input and produces the machine language code as output
for the machine to execute the program .




During the process of translation, the compiler reads
the source program statement- wise and checks for syntax
errors. In case of any error, the computer generates a
printout of the same. This action is known as diagnostics.
There is another type of software that also does
translation. This is called an interpreter.

0 comments:

Post a Comment