Skip to main content

Module schema_source

Module schema_source 

Source
Expand description

Filesystem schema source loader (schema.qail or modular schema/). Filesystem loader for QAIL schema sources.

Supports:

  • single file (schema.qail)
  • modular directory (schema/*.qail, recursive)
  • optional module-order manifest (schema/_order.qail)

Directory modules are merged in deterministic lexical path order. If _order.qail exists, listed modules are loaded first in listed order; unlisted modules are appended in lexical order.

Strict manifest mode (optional):

  • add -- qail: strict-manifest or !strict in _order.qail
  • then every discovered module must be listed (directly or via listed directories)
  • unlisted modules cause an error

Structs§

ResolvedSchemaSource
Resolved schema source (single file or directory of modules).

Functions§

read_qail_schema_source
Read schema source (file or directory modules) as merged QAIL text.
resolve_schema_source
Resolve a schema source path into concrete module files.