Skip to main content

Module engine

Module engine 

Source

Modules§

accumulator
cache
Persistent per-file compile cache. Skips lex/parse/transform/codegen (and the sidecar dispatch) for unchanged inputs by hashing the source together with the build config and stashing the resulting record on disk. Cache hits are O(read JSON + parse).
collection
compile
config
index
Top-level entry emission: index.js + index.d.ts that re-export every collection’s <name>.json.
schema_ts
dmc-schema descriptor -> TypeScript type emitter. Drives the typed interfaces in the generated index.d.ts. Mirrors the kinds accepted by dmc_schema::compile_descriptor; unknown shapes fall back to unknown so the build never fails on an unrecognised descriptor.
sidecar
utils

Structs§

Engine