what is interpreter

11 months ago 20
Nature

An interpreter is a computer program that directly executes instructions written in a programming or scripting language, without requiring them previously to have been compiled into a machine language program). It is a software by which the conversion of high-level instructions is performed line-by-line to machine-level language. Interpreters usually consist of a set of known commands it can execute, and a list of these commands in the order a programmer wishes to execute them). Each command contains the data the programmer wants to mutate, and information on how to mutate the data). Interpreters have a wide variety of instructions which are specialized to perform different tasks, but you will commonly find interpreter instructions for basic mathematical operations, branching, and memory management, making most interpreters Turing complete).

Interpreters are generally used in micro-computers. They help the programmer to find out the errors and to correct them before the control moves to the next statement. The interpreter system performs the actions described by the high-level program. For interpreted programs, the source code is needed to run the program every time. Interpreted programs run slower than the compiled programs.

In addition to computing, an interpreter can also refer to a speech professional who translates messages from one language to another so that various groups of people can understand the message. This type of interpreter works with the spoken word, converting speech from a source language into a target language.