Skip to content

Standard library

L's standard library supplies vocabulary dictionaries that you import explicitly. They are embedded in the compiler; no separate library installation is needed. Builtins are available without an import.

Table: scroll horizontally to read all columns.

Source lexiconDictionary keyPublic namesReference
engioIO.PrintIO

Use selects a dictionary or its member and can bind a local alias. The common current import is:

Use IO's Print from `io` as "Print".

The io key selects the indexed dictionary; a neighboring file cannot shadow it. Explicit .l imports instead resolve relative to their source file. See imports for both forms.

Each reference lists the dictionary's public members. Private helpers remain internal to the dictionary. Indexed implementation dictionaries are tracked by source coverage but excluded from this public catalog.

Dictionary registry and maintenance

The source index maps import keys to entry files and namespaces. Contributors should follow the coverage and snapshot requirements.

stdlib/index.json
{
"format": 1,
"languages": {
"eng": {
"io": {"entry": "stdlib/eng/io/dictionary.l", "dictionary": "IO"},
"format": {"entry": "builtins/runtime/eng/number.l", "dictionary": "Formatting"},
"runtime": {"entry": "builtins/runtime/eng/dictionary.l", "dictionary": "Runtime"},
"storage": {"entry": "stdlib/eng/storage/dictionary.l", "dictionary": "Storage"}
}
}
}

Fragment. Source: stdlib/index.json.

Example evidence

Exact structured registry for source lexicons and dictionary entries; this is resource configuration, not L source. static-inspection. Evidence guide.


Canonical source: docs/stdlib/index.md.