Resolver
Turns a dynamic view template — a JoyDOM Spec containing $-marked directives — into a static document the renderer draws unchanged.
resolve is a pure function: same (view, state) always produces the same output or the same ResolveException — no I/O, no writes, never a partial tree. The authored state and defs regions are consumed, never emitted; the runtime JsonObject state argument is the authoritative data source.
Functions
Resolves view against state into a static document. Throws ResolveException.
Parsing convenience over resolve.
resolve, decoded into the typed Spec model.
Creation-time checks for authoring tools: duplicate names across the flat namespace and reserved names. Returns issues, never throws; resolve does not run these — runtime name collisions are settled by precedence.