1.3 Terminology

The terms in this manual have these meanings. GCSL's own terms, such as context, effect, and definition type, have the meanings GCSL's documentation gives them.

TermMeaning
BlobA file's contents in the store, named by their SHA-256 digest.
CompositionA directory a step makes with fs.compose or fs.compose_dir, sealed once made.
EffectA built-in call that touches the world, such as exec or fs.write, run as a job on the pool.
Execution platformThe machine steps run on: the machine pekit runs on, named as <arch>-<os>.
ExposureWriting an output into pekit-out/ on the host, once something that is not hermetic might read it there.
Host snapshotThe host's system directories that steps see outside a strict build, and the fingerprint that identifies them.
Host viewThe effect context of a target's own code: the host, with the logical layout mapped onto it.
IdentityA 64-bit digest of what a step is, apart from its inputs' contents, naming its output directory.
Logical layoutThe paths every GCSL value and sandbox uses: /w for the workspace, /pekit-out for outputs.
ManifestFor a step's base receipt, every set of contexts a run of it has read.
Materialized treeA store tree made once as a directory of links to its blobs, for steps to mount.
PoolThe threads, --jobs of them, that run effects and pekit's own work for steps.
Program recordThe record of one program a step ran, keyed by what the program could see.
ReceiptThe SHA-256 key of a step: everything that can change what it gives.
RecordWhat a step gave, kept in the store under its receipt.
Scratch directoryA directory kept between a step's runs for a step marked #[scratch].
Staging directoryThe directory on the host that a step's sandbox is made of.
StepA call of a hermetic function made by a target's code, run in a sandbox and recorded.
StoreThe content-addressed store under the cache directory, shared by every workspace and process on the machine.
TargetA definition named on the command line, evaluated as a unit.
TokenThe 16 random hexadecimal digits a process names its temporary files and directories with.
TreeA directory in the store, kept as a blob of its sorted entries in a canonical encoding.
UnitA GCSL evaluation that stops at each result it needs and runs again from there: a target's, or a step's body.

Edit this page