~ Office Supplies ~~ Buy Posters ~~ A-Z Products ~~ Website Advertising


Interpreted language - Wikipedia

<<Up     Contents

Interpreted language

In computer programming, interpreted language is a vague term referring to languages, most implementations of which are interpreters. It is vague because any language can be compiled or interpreted; that is, for any language both a compiler and an interpreter can be written. This term has no meaning in computer science, which strictly distinguishes between languages and implementations. However, people often use it as a useful shortcut to signify languages that are traditionally interpreted, or for which no compilers are written.

In the early days of computing, language design was heavily influenced by the decision to use compilation or interpretation as a mode of execution. For example, some compiled languages require that programs must explicitly state the data-type of a variable at the time it is declared or first used. On the other hand, some languages take advantage of the dynamic aspects of interpretation to make such declarations unnecessary. For example, Smalltalk—which was designed to be interpreted at run-time—allows generic Objects to dynamically interact with each other.

Nowadays, the differences between the two styles of execution have largely been dealt with by more sophisticated designs. Most so-called interpreted languages use an intermediate representation[?], which combines both compilation and interpretation. In this case, a compiler may output some form of bytecode, which is then executed by a bytecode interpreter. Examples include Python, Java, Perl. Similarly, Ruby uses an abstract syntax tree as intermediate representation. The intermediate representation can be compiled once and for all, like Java, each time before execution like Perl or Ruby, or each time a change in the source is detected before execution like Python.

Interpreted languages still give programs certain extra flexibility over compiled languages. Features that are easier to implement in interpreters than in compilers include (but are not limited to)

Some languages that are normally interpreted:

See also: interpreter, compiler, compiled language

wikipedia.org dumped 2003-03-17 with terodump




 
 
6 grams Flowers Ocean JASPER gem stone chunk Cab lapidary carving cabochon tumble polished raw rough
 6 grams Flowers Ocean JASPER chunk Cab lapidary carving cabochon tumble polished raw  
 
Cocobolo Heartwood Exotic Wood Jewelry Pendulum Pendant necklace Red orange brown gorgeous PRETTY
 Cocobolo Heartwood Exotic Wood Jewelry Pendulum Pendant necklace Red orange brown gorgeous PRETTY 
 
Dendritic Pink Peru OPAL jewel tumble polished jewelry gemstone single gorgeous PRETTY NICE peruvian
 Dendritic Pink Peru OPAL jewel tumble polished jewelry single gorgeous PRETTY NICE peruvian 
 
7 carats dark red GARNET gem stone cabbing cab tumble polished rough gemstone Nice but included
 7 carats dark red GARNET cabbing cab tumble polished Nice but included 
 
21 gram turquoise green blue CHRYSOCOLLA gem stone Cab cabbing rough tumbled gemstone 105 carat ct
 21 gram turquoise green blue CHRYSOCOLLA Cab cabbing tumbled 105 carat ct