Terms#
DS#
The short form of the language’s official name, Desert Sage.
(Spec: [LSCO.1.13])
Fact#
One instance of a schema: a value for each of its slots.
Schema#
A top-level declaration that names a fact type, its slots and its lifecycle.
(Spec: [LGRA.5.1])
Slot#
A named, typed member of a schema.
(Spec: [LGRA.5.1])
Rule#
A top-level declaration of patterns and actions, separated by ->.
(Spec: [LGRA.6.1])
Pattern#
A line of a rule’s left-hand side that matches facts of one schema, or their absence.
(Spec: [LGRA.8.1])
Activation#
A rule together with the particular facts that matched it: a firing owed until it fires, which stays, fired, while its match lasts.
Working memory#
The set of facts an engine holds live.
(Spec: [LFAC.11], [RARC.5.2.1])
Action#
A statement of a rule’s right-hand side.
Module#
A source file of a compilation unit: the program, or an imported library.
(Spec: [LDIA.3.4.1])
Library#
A DS source file with no use directive.
(Spec: [LDIA.2.10.1])
Program#
A DS source file with a use directive.
(Spec: [LDIA.2.10.1])
Dialect#
A name for a setting of every capability to true or false.
(Spec: [LDIA.1.1])
Capability#
A boolean setting with a stable name.
(Spec: [LCAP.1])