answersLogoWhite

0


Best Answer

Interpreter

An interpreter is given a computer program to run and it is executed (or performed) line by line. It simply reads a line of code (in the programs native language (ie English Basic) and performs the instructions one by one. After each line has been completed, the next on is accessed and duly performed until the program is finished.

The syntax of the program may have errors in it and these are not found out until the program is run.

The user must have the source code to be able to run the program (some interpreters produces a tokenised version of the source code to speed up execution of the program and reduce disk storage.)

Compiler.

With a compiler, the entire code is translated into machine code before it is run and then saved to disk for future use. The entire program must be 100% syntax correct before the program is translated and saved to disk. Several other parts of the program (called libraries) can be linked with the program to produce the final product. Test compilations usually are performed to avoid a large number of compile errors at once. The compiled program is accessed by the user but they do not need the source code to use the program. The same program run as a compiled program will usually outperform an interpreted on.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is difference between interpreters and compiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is DML Compiler?

What is difference between Compiler and DML Compiler


What are the difference between a compiler design and a compiler?

In Compiler there is no design word ,whereas in compiler design there is design word


Why you call as cousins of compiler?

"Cousins" of the compiler are those things related to the compiler, and may or may not be part of the compiler. This includes: preprocessors, assemblers, linkers, and interpreters.


Who takes more memory space interpreter or compiler?

Interpreters


Who will take more memory space compiler or interpreter?

Interpreters


Similarities between compiler interpreter assembler?

Both are use to convert high level languages into machine language


What is the difference between compilers and interpreters in c plus plus in tabular form?

C-compiler translates the C-source into Assembly or machine code. On the other hand, C-interpreter -- well, there is no such thing as C-interpreter.


What is the difference between java compiler and C compiler?

Greetings Technologist. The Java compiler compiles Java code, whereas the C compiler compiles C Code HTH Richard Wolf Software Architect


What is compilers and interpreters the purpose?

compiler and interpreter used to convert high level language to machine level language .....compiler does dis job in atonce while interpreter does in step by step


What is the difference between compiler and program?

A compiler is actually a program. However the function of a compiler it to take a programmers high level language code and render this as binary machine language instructions that a specific processor can execute.


What is the difference between interpreters and translators?

Interpretors and translators are pretty much one and the same however interpreters tend to know the culture of the language as well as just the words. Translators can be electronic devices or people.


Difference between Apple Mac and Intel c compiler?

Apple provide the GCC (GNU Compiler Collection) compiler with their development tools which come free with the Mac OS X. Intel produce a version of their compiler for the Mac platform. For specific details see the links below.