[0]
In computing, a compiler is a computer program that translates computer code
written in one programming language into another language. The name "compiler"
is primarily used for programs that translate source code from a high-level
programming language to a lower level language to create an executable program.
[1]
A Compiler is a software that typically takes a high level language (Like C++
and Java) code as input and converts the input to a lower level language at
once. It lists all the errors if the input code does not follow the rules of
its language. This process is much faster than interpreter but it becomes
difficult to debug all the errors together in a program.
A compiler is a translating program that translates the instructions of high
level language to machine level language. A program which is input to the
compiler is called a Source program. This program is now converted to a machine
level language by a compiler is known as the Object code.