liveBook · Manning

Interpreter

An interpreter is software that evaluates or executes a program or instruction representation according to its defined semantics.

How 2 Manning books explain it

Functional Design and Architecture: Examples in Haskell

Interpretation is the evaluation of a program or structured representation directly according to its defined semantics.

How it is used
Separates declarative domain scenarios from the implementations that evaluate their actions.
How deep it goes
Works through recursive action handling, runtime state, and translation between languages.
Examples
Uses smart-home sensor scripts, hardware descriptions, reporting channels, and a mock random generator.
What you can do after
Build interpreters from scratch for declarative actions, including stateful execution and configurable test behavior.

Read how Functional Design and Architecture: Examples in Haskell explains interpreter →

Get Programming: Learn to code with Python

A Python interpreter is a program that executes programs written in the Python programming language.

How it is used
Runs Python programs and makes expression evaluation and console output observable in a first workspace exercise.
How deep it goes
Defines the interpreter and walks through line-by-line execution, without explaining its internal implementation.
Examples
Uses arithmetic expressions, print statements, a Spyder run, and a quick check about what appears in the console.
What you can do after
Operate/configure it by running a Python file in Spyder and predicting which calculated values appear in the console.

Read how Get Programming: Learn to code with Python explains interpreter →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.