Compiler is a software that converts the written in high level language into machine language. The program written in high level language is referred to as source and compiled program is called object code. The object code is executable code it does not require the compiler. Some language used compiler. e.g. C++, COBOL, PASCAL and FOR-TAN. Compilers also report syntax error if any in the source code.