It is difficult to write programs in high level languages .Compiler and interpreter both are software programs which convert high level languages to low level languages . But their conversion processes have some differences which are as follows :
Compiler | Interpreter |
---|---|
Compiler converts High Level language to low-level language by executing complete code once and shows all errors after the program is processed . | Interpreter converts HLL to LLL by executing the code line by line and shows errors without proceeding unless the error is not corrected. |