0

Pls what is a cmplier

difference between a complied and an interpret

4th Nov 2016, 9:51 PM
Rabbi Sarpong
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.
4th Nov 2016, 10:03 PM
Harry Pearson
Harry Pearson - avatar
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.
4th Nov 2016, 11:44 PM
Stefan
Stefan - avatar