answersLogoWhite

0


Best Answer

An interpreter is a computer program that translates a high-level computer program into machine code while it is executing. As a result of this runtime interpretation, an interpreted program executes more slowly and consumes more resources than an equivalent standalone machine code executable would. To create standalone machine executables from high-level language sources you require a compiler and linker. Alternatively, you can write the program in low-level assembly language and use an assembler to create the executable, however high-level languages are easier to work with and can more easily produce executable code that is as efficient if not more efficient than is possible with low-level assembly language.

User Avatar

Wiki User

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

Wiki User

15y ago

One of the ways in which you can classify a programming language is whether it is compiled or interpreted. After typing up the code for a program in a compiled langauge, a program called a compiler is used to turn the code into a binary, or executable file. In windows, these are files that end in .exe on macs, these are files that end in .app. For an interpretted language, after typing up the code and saving it, one can click on the file and run it immeadiately since there will be an interpreter program running in the backround that essentially compiles it in real time.

If you want to edit a program written in a compiled langauge, you have to change the source code, then compile it again. If you want to do the same in an interpreted language, you only have to change the source code, then run the program again.

A few popular examples of interpreted languages are Java, Python, and Ruby.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

They are systems software.

They are systems software.

They are systems software.

They are systems software.

They are systems software.

They are systems software.

They are systems software.

They are systems software.

They are systems software.

They are systems software.

They are systems software.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

Yes, an interpreter is one of the types of translator software.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

Interpreted code is typically portable so there is no need to rewrite code to suit different architectures and platforms. Also, interpreted code can be executed immediately; there is no need to compile the code. This also makes it possible to edit the code while it is executing.

The downside of interpretation is that execution speed is many times slower than that of native machine code. In addition, resource consumption will be far higher because the interpreter must be memory resident in order to execute the interpreted code.

This answer is:
User Avatar

User Avatar

Wiki User

7y ago

A programming language interpreter translates high-level source code into machine code while the high-level code is executing, much like a human interpreter translates for someone while they are speaking.

Interpretation differs from compilation in that a compiler translates high-level source code into a lower-level language such that the resultant code is saved. Compilers typically translate the source code directly into a machine code executable file which can then be run without any further translation. However, languages such as Java use a compiler to convert the high-level Java source into Java byte code, the native language of the Java virtual machine. The compiled code is then interpreted by the Java virtual machine to produce the required machine code.

Given that interpreted languages require a runtime (the interpreter) in order to execute, interpreted code uses more resources and executes very much slower than compiled machine code.

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

complier is d 1 whch converts the whole program together into m/c language

whereas interpreter cnverts it line by line.....

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Yes, an interpreter is one of the types of translator software.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

They are systems software.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the function of an interpreter and a compiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How many model of compiler?

combination of interpreter and compiler.


Which type of translater is used by GW BASIC either compiler or interpreter?

its an interpreter


How compiler differ form interpreter?

because the compiler convert whole of the sentence once into the machine langauge but the interpreter convert one by one


Which produces faster program execution a compiler or pure interpreter?

A compiled program would execute faster than an interpreter running the same code step by step.


Is there used compiler or interpreter in HTM?

A htm file is interpreted, not compiled. A browser acts as the interpreter.


Why does compiler better than interpreter?

There is no point in comparison.


Which is the host language uses to develop Compiler or interpreter?

You will have to ask the compiler and interpreter writers that question. What I can tell you with certainty, at one time all programs were hand assembled.


Who takes more memory space interpreter or compiler?

Interpreters


What compiler and interpreter effect the speed of computer?

need to get to mars


Who will take more memory space compiler or interpreter?

Interpreters


Examples of computer language translators?

Assembler Interpreter Compiler


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