Function Of Compiler
A compiler is a software translator which converts High level programming language to low level machine language. For example, the programmers write the code in C, C++, Java etc. and it is translated into machine code or assembly language. First the computer analyses the input one by one and generates an output, and when it’s done, the output is compiled in the form of object code. In earlier times binary data was used and with passage of time assembly language came into existence which was more reliable. Due to less memory in computers that time the compilation process was divided into smaller programs and it was troublesome. There are different types of compilers such as native code compiler, source to source compiler, cross compiler etc. The execution of a program with compiler is carried out in 3 ways including: