Compiles every entry of a decoded .dxns document into
baseRegistry — a struct schema for each %schema(N){} entry, a
named type_expr for every other entry. A refusal is a
SchemaCompileError (category schema/compile), or a DXNError of
category schema/duplicate-version for a version the registry has
loaded already (DXN.md §4.8).
Every named type in a document sees every other, in any order, and may
reach itself through a guard -- a field, or a collection's elements
(DXNS.md §5, Jan, 2026-10-20). names maps an entry's key to the
name it is registered under -- a tree's full names (DXNS.md §6,
layout.cjs); a bare symbol naming a sibling resolves to it.
Compiles every entry of a decoded
.dxnsdocument intobaseRegistry— a struct schema for each%schema(N){}entry, a named type_expr for every other entry. A refusal is aSchemaCompileError(categoryschema/compile), or aDXNErrorof categoryschema/duplicate-versionfor a version the registry has loaded already (DXN.md§4.8).Every named type in a document sees every other, in any order, and may reach itself through a guard -- a field, or a collection's elements (DXNS.md §5, Jan, 2026-10-20).
namesmaps an entry's key to the name it is registered under -- a tree's full names (DXNS.md §6,layout.cjs); a bare symbol naming a sibling resolves to it.