Expand description
Presentation morphism as a sheaf (T69).
The presentation morphism maps a VibeScript value (field, tensor, geometry, quantity) to a presentation in one or more modalities (visual, haptic, auditory, Braille). It is a sheaf — the presentation is locally consistent (each modality gets a coherent view) and globally glued (the modalities agree on the underlying value).
§Design
PresentationModality— the output modality (visual, haptic, auditory, Braille).Presentation— a single presentation of a value in one modality. Carries the modality, a presentation kind, and a payload (CSS properties, haptic pattern, audio earcon, Braille cells).PresentationSheaf— the sheaf: a value plus its presentations across modalities. The sheaf condition is that all presentations agree on the underlying value.
§Not Render.css_* plus hope
The presentation morphism is NOT just CSS rendering. It produces presentations for multiple modalities simultaneously. The visual presentation might be CSS, but the haptic presentation is a vibration pattern, the auditory presentation is an earcon, and the Braille presentation is a cell array.
Reference: docs/vibescript-full-impl-PLAN.md §3.10 T69.
Structs§
- Presentation
- A single presentation of a value in one modality.
- Presentation
Sheaf - A presentation sheaf — a value plus its presentations across modalities.
Enums§
- Presentation
Kind - The kind of presentation within a modality.
- Presentation
Modality - A presentation modality — the output channel.
Functions§
- present
- The presentation morphism — maps a value to a presentation sheaf.