interpreter
Quick Summary
An interpreter is a computer program that executes high-level instructions one at a time. This is in contrast to a compiler, which translates an entire program into machine code before execution.12
Programming languages allow humans to communicate with computers. Early languages were close to machine code, but higher-level languages like FORTRAN and BASIC emerged, enabling more abstract programming. These languages can be imperative (specifying commands) or functional (collections of mathematical functions).3
Interpreted languages, often called scripting languages, are used for tasks like web development, where they integrate different components like HTML and databases. While compilation is more efficient for popular languages, interpretation is often used when a language is first developed or for specific applications like web scripting.3
Ask Britannica AI about this topic
Britannica doesn't have a full article on this topic, so we've curated a list of our relevant coverage.
- computer program
…from one language to another; interpreters, which execute a program sequentially, translating at each step; and debuggers, which execute a program piecemeal and monitor various circumstances, enabling the programmer to check whether the operation of the program is correct or not.
Read More…from one language to another; interpreters, which execute a program sequentially, translating at each step; and debuggers, which execute a program piecemeal and monitor various circumstances, enabling the programmer to check whether the operation of the program is correct or not.
Read More
computer scienceProgramming languagesAs suggested above, an interpreter is software that examines a computer program one instruction at a time and calls on code to execute the machine operations required by that instruction.
Read MoreAs suggested above, an interpreter is software that examines a computer program one instruction at a time and calls on code to execute the machine operations required by that instruction.
Read More
