Skip to content

SpecificationE · Appendix E — Glossary

E.1

Glossary

Markdown version

The book's technical terms with a short definition and the section where they are explained.

TermDefinition
algorithmThe main unit of a program; every text has exactly one. Structure
argumentThe value passed in a call. Parameters
assignmentStoring a new value in a place with <-. Assignment
base caseThe case of a recursion that is solved without calling itself again. Recursion
capabilityAn opaque key that gives access to an outside resource. Effects and capabilities
classA type that groups attributes and methods; its values are objects. Classes
constantA name for a fixed value computed during analysis. Constants
designatorAn expression that names a place to store into: variable, cell or attribute. Designators
diagnosticAn engine notice with a code, class, severity and position. Anatomy
dispatchChoosing the method by the object's real class. Inheritance
effectAny action towards the outside of the program: writing, reading, opening a file. Effect order
expressionA combination of values and operators that is computed. Arithmetic
frameThe space of its own every call has for its parameters and variables. Calls
handleThe Task value that keeps a spawned task to wait for its result. Task scopes
heapThe memory where objects, arrays and texts created at run time live. Memory
hostWhoever runs the program —the app, the terminal or an executable— and gives it input, output and capabilities. Effects
identityAn object's or array's creation number; it never changes and is never reused. Copies and identity
interfaceA list of signatures a class promises to fulfil. Interfaces
intermediate representationThe form of simple instructions the engine translates the program into. Layers
moduleA file in a project. Modules
objectA class-typed value, created with New. Constructors
pass by referencePassing the variable itself, not a copy. By reference
precedenceThe order in which operators group. Precedence
profileThe language of the program's words: Spanish or English. Profiles
pure functionA Function, which only computes and has no effects. Purity
receiverThe object a method is called on, named This inside it. Methods
scopeThe stretch of text where a name exists, from its declaration to the end of its block. Scopes
severityA diagnostic's consequence: error, warning or information. Severity
short circuitLeaving the right side of And or Or uncomputed when the left side already decides. Logical
suspendibleA unit that can pause at Await. Suspendible units
tapeThe record of a run's effects, which allows replaying it. Effects and tape
taskA run that progresses alongside others inside a Tasks scope. Task scopes
traceThe list of a run's events, step by step. Observing execution
trapA failure during execution that stops the program. Errors
variableA name bound to a place in memory whose value can change. Define