Interpreter: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
 
(added compiler vs interpreter)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:Encyclopedia]]
An interpreter reads either source code or bytecode for a program, and performs the instructions specified by that program.
An interpreter reads either source code or [[bytecode]] for a program, and performs the instructions specified by that program.

An interpreter is distinguished from a [[compiler]] by the fact that it doesn't need to compile the source format to a machine-readable format first; instead, it directly executes the instructions from the source.


==See also==
==See also==

Latest revision as of 03:05, 1 November 2009

An interpreter reads either source code or bytecode for a program, and performs the instructions specified by that program.

An interpreter is distinguished from a compiler by the fact that it doesn't need to compile the source format to a machine-readable format first; instead, it directly executes the instructions from the source.

See also