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 →

Also covered in

What to know first

Related concepts

Questions about interpreter

What is interpreter?

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

Which Manning books explain interpreter?

Functional Design and Architecture: Examples in Haskell and Get Programming: Learn to code with Python.

What should I know before learning interpreter?

Manning books that teach interpreter usually introduce Python, algebraic data type, bytecode and comment first.

What is the difference between interpreter and code generation?

An interpreter is software that evaluates or executes a program or instruction representation according to its defined semantics. Code generation is the production of program code from inputs such as specifications, models, templates, prompts, or program representations, typically through automated transformation.

What kinds of interpreter are there?

Kinds of interpreter include CPython.

What is interpreter a kind of?

Interpreter is a kind of application. An application is a software program or system that provides functionality or performs tasks for users or other software.

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.