An interpreted language is kind of programming language, for which program's source code is usually executed by interpreter, as opposed to being compiled by a compiler. |
An interpreted language is kind of programming language designed to allow its source code to be executed by an interpreter, as opposed to being compiled by a compiler into object code. |
usually one method of use is dominant. Often there are some differences between what is allowed in interpreted and what is allowed in compiled version of language. For example compiled version might not allow eval statement, or interpreter might prohibit using [inline assembler]?. |
usually one method of use is dominant based on the language's design. For example, many interpreted languages have a command such as Perl's eval, which takes programming language text as data (which can be created at runtime) and executes it, something that requires a language interpreter at runtime. Languages designed for compilation, on the other hand, may have features like allowing [inline assembly]?. |
Interpreted languages are generally slower, but can have many useful features that are difficult to implement in a [compiled language]? - for example eval statement and platform-independence?. |
Interpreted code generally runs more slowly that compiled code, but can have many useful features that are difficult to implement in a [compiled language]?, for example the aforementioned eval statement, platform-independence?, and interactivity. |
Some languages like Perl and Python are designed to be interpretable, but are often implemented by being compiled at runtime. Other languages like UCSD Pascal and Java are designed for compilation, but may be compiled into an intermediate bytecode form which is then interpreted. |
* The original BASIC (though most modern versions are now compiled) |
* Forth (traditionally threaded interpreted) |
* Logo (interpretation makes interactivity easier) * Lisp (traditionally interpreted, modern versions compiled) * MUMPS (traditionally interpreted, modern versions compiled) |
Compare: Java |