Interpreter: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Link, this page seems like it needs more)
(added compiler vs interpreter)
 
Line 1: Line 1:
[[Category:Encyclopedia]]
[[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