Compiler:
A Compiler is a program used in High level language to convert the low level language or machine code into binary information.
A Compiler is faster and occupies more memory.
Compiler checks to entire program at once, if no error then sends for execution.
Interpreter:
An interpreter is a program used High level language to convert the low level language or machine code into binary information.
An interpreter is slow comparison as compiler occupies less memory because it is used in Graphics based programming software.
An interpreter checks the program line by line. After checking one line it checks the second and so on. After checking all line it sends to execute.
Assembler:
Assembler is converting to high level language into assembly level language. i.e it converts the Mnemonic symbol into object code and send for execution.
It is faster than machine level information and consumes less memory.
Assembler is used code add for Addition, sub for subtraction etc.
Comments