Changes to Interpreter (computing)

TechWritereditor · 5 Dec 2026, 02:28 · “New page”

+ added − removed (first version)

Title

Removed:  
Added: Interpreter (computing)

Short description

Removed:  
Added: Program that runs source code one step at a time

Type

Removed:  
Added: technology

Summary

Removed:  
Added: An interpreter is a computer program that executes another program's instructions one at a time, rather than translating the whole program into machine code beforehand as a compiler does. Languages such as Python are usually run this way.

Fact box

Removed:  
Added: Type: Software / language implementation technique
Added: Contrast: Compiler
Added: Early example: LISP interpreter (S. R. Russell)
Added: Typical uses: Scripting, interactive programming

Article

Added: **Interpreter (computing)** refers to a computer program that executes high-level instructions one at a time: it examines a program instruction by instruction and calls on code that carries out the machine operations each one requires.[^1] This contrasts with a [[Compiler]], which translates an entire program into machine code before it runs.[^1]
 
Added: ## How it works
Added:  
Added: Because an interpreter runs source code directly, a programmer does not have to build a separate executable file first.[^2] The Python documentation notes that interpreted languages typically have a shorter development and debugging cycle than compiled ones, although their programs generally run more slowly.[^2] Many interpreters also offer an interactive mode, in which a user types a statement at a prompt and sees the result straight away.[^2]
Added:  
Added: The line between interpreting and compiling is often blurred. The standard implementation of [[Python (programming language)]] first compiles source code into bytecode, an intermediate form that is then executed by a [[Virtual machine]]; the bytecode is cached so the same file runs faster the second time.[^2] Britannica notes that interpretation is often chosen for new languages and for specialised uses such as web scripting, where interpreted "scripting languages" link components like web pages and databases, while compilation is generally more efficient for widely used languages.[^1]
Added:  
Added: ## History
Added:  
Added: Attempts at higher-level programming began early in the stored-program era of the late 1940s.[^1] Short Code, suggested by John Mauchly in 1949 and implemented by William Schmitt for the BINAC and later the UNIVAC, was the first such language actually put into use.[^3] Later languages such as FORTRAN and [[BASIC]] made programming more abstract still.[^1]
Added:  
Added: An influential early interpreter came from the [[Lisp (programming language)]] project. Its creator, John McCarthy, recalled that S. R. Russell noticed that the language's eval function could serve as an interpreter, and promptly hand-coded it; as a result, the team "now had a programming language with an interpreter".[^4]
Added:  
Added: ## See also
Added:  
Added: - [[Compiler]]
Added: - [[Virtual machine]]
Added: - [[JavaScript]]
Added: - [[Python (programming language)]]

Sources

Removed:  
Added: interpreter | https://www.britannica.com/technology/interpreter | Encyclopaedia Britannica
Added: Glossary | https://docs.python.org/3/glossary.html | Python Software Foundation
Added: Shortcode | https://www.britannica.com/technology/shortcode | Encyclopaedia Britannica
Added: The implementation of LISP | https://www-formal.stanford.edu/jmc/history/lisp/node3.html | John McCarthy, Stanford University

Categories

Removed:  
Added: Software
Added: Programming languages

Other names

Removed:  
Added: Interpreter
Added: Language interpreter
Added: Interpreted language