Skip to main content

Module render

Module render 

Source
Expand description

Grain renderers for context formatting — a thin delegation layer.

Since the render unification, the actual per-grain rendering lives in areev_cal::render — ONE implementation shared with CAL’s FORMAT arms, so a grain renders identically on every surface. What stays here is orchestration-side: the GrainRenderer trait and its registry (the seam a host can override with ContextAssembler::with_renderer), the per-type context priorities that feed budget allocation, and the per-type summaries.

Structs§

RendererRegistry
Registry mapping GrainType to its renderer.

Traits§

GrainRenderer
Renders a single grain type into formatted context strings.

Functions§

toon_columns
TOON column names per grain type, per CAL spec Section 10.9.3. Reads from the grain-type metadata registry — the single source of truth.