0
Pls what is a cmplier
difference between a complied and an interpret
2 Answers
+ 2
A compiler will take all of the high level code and convert to machine code for the processor to execute. All errors are shown when the code is compiled.
An interpreter will execute code line by line and errors will arise on the line which is being executed, if any. Errors that exist later in the code won't be given to the user until the interpreter reaches that line of code.
0
A compiler is a software which translates the source code of a programming language into a machine-friendly code (not necessarily machine code!) in one turn.
An interpreter translates token by token.