answersLogoWhite

0

Interpreter

Interpreters translate code one line at time, executing each line as it is "translated," much the way a foreign language interpreter would translate a book, by translating one line at a time. Interpreters do generate binary code, but that code is never compiled into one program entity. Instead, the binary code is interpreted each and every time the program executes. Some examples of interpreted programs are BASIC, QBASIC, and Visual Basic (version 5 of which has both a compiler and interpreter). Where compiled programs can run on any computer, interpreted programs can only run on computers that also have the interpreter.

The Practical Extraction and Reporting Language, or Perl, is a script-based programming language whose syntaxparallels that of the C language but is an interpreted language; Perl can optionally be compiled prior to execution into either C code or cross-platform bytecode. Perl is easier to learn and faster to code in than the more structured (and compiled) C and C++ languages. When compiled, a Perl program can execute almost as fast as a fully precompiled C language program. JavaScript is another example of an interpreted script-based programming language.

Interpreters offer programmers some advantages that compilers do not. Interpreted languages are easier to learn than compiled languages, which is great for beginning programmers. An interpreter lets the programmer know immediately when and where problems exist in the code; compiled programs make the programmer wait until the program is complete.

There is a third method of generating code, and that's with an assembler, which is used in Assembly language. The assembler translates Assembly language into machine language.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about General Science
Related Questions

The three Types of translator?

Assembler, Compiler and Interpretor


What is Nash in Linux?

nash is a very small and simple script interpretor.


Who knows Japanese and can transalate a video for someone?

cost you a fortune but any interpretor could do it


Is it recommended to get an interpretor in Bolivia?

No, just learn some Spanish and bring a phrase book.


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.


Is php an interpretor?

PHP is in interpreted language, and ships with one, however PHP itself is a program language and not an interpreter.


Why did North Korea declare war?

They haven't. That whole thing was a mistranslation between the interpretor and speaker. War has NOT been declared... yet.


What is kourn shell?

The Korn shell is a command interpretor that combines the syntax and abilities of the csh shell and the sh (Bourne) shell. It was designed by David Korn of Bell Labs.


Where could we get a job after learning the German language?

Learning German will increase your prospects of employment with the many International companies operating in the German speaking nations. There are possibilities (after extended studies) of working as a translator or interpretor.


What are some opinions about the meaning of 1 Corinthians chapter 11 verse 10?

It depends which version of the bible you are referring to. IT may mean women are superior or inferior. It is typical of the different interpretations that may be made according to the intent of the interpretor.


What did Squanto taught the Pilgrims?

Squanto taught the Pilgrims how to cultivate maize (corn), how to fertilize the soil with fish for better crop yields, and how to survive in the harsh New England environment by hunting, fishing, and foraging.


How much does a sign language interpretor earn?

Sign language interpreters can earn an average salary of around $50,000 to $60,000 per year. However, this can vary depending on factors such as location, experience, education, and the type of interpreting work they do.