Glossary Updates12 new terms added to the glossaries · October 2, 2026, 22:44 CEST
AI TechDocKnowledge

Glossary · Automation software engineering and architecture

Interpreter

German: Interpreter

In computing, an interpreter is a program that executes source code or intermediate code directly, statement by statement or in small units, at runtime, instead of translating the whole program into machine code beforehand. Python and many scripting languages are typically interpreted.

  • Software engineering

In one sentence

An interpreter executes source or intermediate code directly at runtime instead of translating the whole program beforehand.

Example

The robot controller interprets the robot program line by line, so a syntax error in a rarely used branch is detected only when that line is reached.

How it applies

  • Engineering: Interpreters make it easy to change programs without a build step and are common for scripting, test automation, robot and CNC programs, and configuration logic. Some errors are only detected when the affected code runs.
  • Timing: Interpretation usually runs slower and less predictably than compiled code. Just-in-time compilation narrows the gap but adds its own timing effects.
  • Documentation: For interpreted languages in products, such as scripting interfaces for customers, document the language version, available functions, runtime limits and error messages. Scripts that customers write become part of their machine configuration and should be versioned.

Interpreter vs. compiler

A Compiler translates the whole program before execution; an interpreter executes it directly. Many systems combine both: source code is compiled to bytecode, which is then interpreted by a virtual machine. PLC runtimes generally compile IEC 61131-3 code, while some simple controllers interpret intermediate code.

By knowledge.aitechdoc.world · Published September 26, 2026 · Last reviewed

Source: AI TechDoc Blog editorial definition, based on programming language implementation practice

Definitions follow the cited standards and specifications. Where a source is a copyrighted publication, such as an ISO, IEC or EN standard, the definition is a close paraphrase, not a verbatim quotation, so as not to infringe copyright. We recommend reading the original publication. The sections “How it applies” are editorial commentary by AI TechDoc Blog and are not part of any standard.

Seen a mistake? Send us a note!