Interpreter for parsed Kiwi schemas without generated modules.
Prefer generated modules for application code. This interpreter is useful for
tooling, inspection, and compatibility tests where schemas are loaded at runtime.
For repeated calls, prepare the parsed schema once with prepare/1 to replace
linear definition, message-field, and enum lookups with indexed lookups.
Summary
Functions
Builds reusable lookup indexes for repeated runtime interpretation.
Types
@type schema() :: KiwiCodec.Schema.t() | KiwiCodec.SchemaInterpreter.Prepared.t()
Functions
@spec prepare(KiwiCodec.Schema.t()) :: KiwiCodec.SchemaInterpreter.Prepared.t()
Builds reusable lookup indexes for repeated runtime interpretation.