Builtin reference
Builtins are available from the selected complete distribution without an explicit Use import. They comprise configured lexical facilities, compiler-typed operations, and definitions authored in builtins/eng/core.l. IO.Print belongs to the separately imported standard library.
Source-defined facilities
Section titled “Source-defined facilities”Table: scroll horizontally to read all columns.
| Facility | Declared forms | Contract |
|---|---|---|
| Start | Start, Starts, Started, Starting, Starter | Build any App, then Run it |
| Execute | Execute, Executes, Executed, Executing, Executor | Start any App, then Await it |
| Process | Process, Processes, Processive, Processing | Compose ordered definition syllables into operation W |
| Function | Function, Functions, Functional, Functioning | Compose FW with typed native signature/body inputs |
| Function.Invoke | Invoke, Invokes, Invoked, Invoking, Invoker | Bind a selected callable and ordered argument references through KY |
| Function.Return | Return, Returns, Returned, Returning, Returner | Native-backed return statement inside the supplied Function composition |
| Delegate | Delegate, Delegates, Delegated, Delegating, Delegator | Compose a call to a selected target through KY |
| Retain | Retain, Retains, Retained, Retaining, Retainer | Retain a selected shared handle |
| Objective | Objective | Wrap a Function's source grouping |
| Main | Main | Describe the canonical bounded Service/Object/Function entry structure |
| Basic | Basic | Compose an App with a Main Service using a Process |
The exact source-defined construction and callable reference explains their inputs and limits. These names are source-defined facilities: aliases preserve canonical identity and descriptor targets govern composition.
Compiler-typed operations
Section titled “Compiler-typed operations”Table: scroll horizontally to read all columns.
| Operation | Forms from configured root | Operands and behavior |
|---|---|---|
| Build | Build, Builds, Built, Building, Builder | Checked App; validate prebuilt artifact at runtime |
| Run | Run, Runs, Ran, Running, Runner | Checked target; launch without join |
| Await | Await, Awaits, Awaited, Awaiting | Checked target; join finalized result and claim continuation once |
| Stop | Stop, Stops, Stopped, Stopping, Stopper | Checked target; request termination without join |
| Show | Show, Shows, Showed, Showing, Shower | Observe supported runtime values; no added newline |
| Exit | Exit, Exits, Exited, Exiting, Exiter | Terminate whole program, with optional supported failure operand |
Inflection recognition does not make every grammatical owner valid. For example, native Await inside an App body rejects even though its word form is recognized. The lifecycle reference records supported contexts and failure modes.
Declaration and vocabulary facilities
Section titled “Declaration and vocabulary facilities”Create, Define, Describe, and Use establish declarations, typed/native definitions, descriptors, aliases, and supported imports. Public/Publicly controls visibility at one declaration site; New and Generic participate in construction. Noun/Verb/Adjective/Adverb are lexical categories, not native scalar types.
Collections support Put, Place and typed reads. Get, Take and While remain unsupported operations. The grammar chapter distinguishes executable actions from other configured vocabulary.
Runtime members
Section titled “Runtime members”Output is Text containing finalized raw stdout. Error is the selected process operation/invocation failure. These are compiler-typed process members, so a possessive keeps its canonical target. Input exists in vocabulary/signature metadata but runtime process argument/input transport is not provided by the current App contract.
Availability and errors
Section titled “Availability and errors”English builtins and their backend resources are embedded and loaded automatically. Compiler developers can override the resource bundle.
Wrong action parameter counts/types, unsupported target owners, unknown descriptor targets, inaccessible source declarations, and cycles are real errors. Builtin definitions do not hide lifecycle misuse, insert Await, trim output, or infer initialization. The specification separates their source contract from backend-native facilities.
Sources and witnesses
Section titled “Sources and witnesses”Sources: core.l, vocabulary, typed process operations, and native instruction roles. Witnesses: builtin operation contract, operation validation, action definitions, and Service boundary coverage.
Canonical source: docs/reference/builtins/index.md.