answersLogoWhite

0


Best Answer

A compiler will read your entire source code and convert it into a language specific to the environment it's intended to run on. The plan is to have the compiler analyze the code and build an efficient application.

Examples of languages that are compiled: C, C++, Java

An interpreter will read your source code, usually line by line, and execute each command one at a time. This is slower and less efficient, but very good for teaching programming.

Examples of languages that are interpreted: Basic, Turing, Logo
A compiler translates a high-level language to a low level language all at once. An interpreter only translates one high-level statement at a time.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

• A complier converts the high level instruction into machine language while an interpreter converts the high level instruction into an intermediate form.

• Before execution, entire program is executed by the compiler whereas after translating the first line, an interpreter then executes it and so on.

• List of errors is created by the compiler after the compilation process while an interpreter stops translating after the first error.

• An independent executable file is created by the compiler whereas interpreter is required by an interpreted program each time.

This answer is:
User Avatar

Add your answer:

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

The three Types of translator?

Assembler, Compiler and Interpretor


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


Executon steps in java?

First of all the compiler converts our source code into byte code ,this is done by "javac" compiler.then we use interpretor that is the"java interpretor" for making our byte code executed.thats y java is called as an compiled and interpred language.by that way our java program will be interpreted. First of all our source code vl b converted into byte code by da java compiler named "javac" ,then dt byte code vl be executed by da interpretor named "java" interpretor. These are execution steps in java dts y v call java as a compiled and interpreted language.


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 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.


How is Compiler Different from Interpretor?

A traditional compiler converts the source code to machine code; many recent compilers convert the source code to some intermediate language instead. An interpreter runs the source code directly, which means the source code is basically "interpreted" one line at a time.


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.


Is there any difference between turbo c and c plus plus?

turbo c is a compiler and c++ is a programming language.


Difference between gcc compiler and other or benefits of gcc over c compiler?

gcc is a c compiler among many other things. It can also be used to compile code in other languages. gcc is a fairly advanced compiler and is used to compile Linux along with most other free(as in free speech) software.


What is the Difference between c and shell program execution?

The shell interprets the script, while the C-compiler generates a binary executable.


What is difference between regular expression and regular definition in compiler?

Regular expression is built in and the regular definition has to build from regular expression........