Expand description
Runtime values (a subset of syntactic_value).
Structs§
- BaseEnv
- The compile-time environment: the flat name -> value table of
primitives and base constants that
crate::compilefolds unshadowed references against, and whoseBaseEnv::namesseed the elaborator’s scope. - Document
Value - The final result of evaluating a document.
- Env
- The runtime environment: a chain of positional frames.
- Math
Variant Style math-variant-char’s 9-field per-style codepoint record (math.satyh’sgreek-lowercase/greek-uppercasebuild one per Greek letter). Field order/names mirror the record literal math.satyh constructs.- Text
Info text-info(v0.0.6BCTextModeContextcarryingTextBackend.text_mode_context, src/text-mode/textBackend.ml:1-5). PDF-port sliver: upstream’s second field,escape_list, is omitted — no v0.0.6 primitive can set it (TextBackend.set_escape_list has no vminst.ml caller), so it is invariantly[]upstream.indentis invariantly >= 0 (deepen_indentclamps the increment).
Enums§
- Math
- One atom of a faithful
mathvalue (Value::Math‘s element type) — trimmed mirror of upstreammath(types.cppo.ml:1024). Every closure-typed field upstream carries (kern functions, a paren pair’s sizing closures,math-pull-in-scripts’ resolver,text-in-math’s embedded-box callback) is stored here OPAQUELY as a plainValue— constructing one of these variants never calls such a closure, exactly like upstream, where amathvalue is inert data until the real layout engine walks it. - Math
Element - The base-atom payload of
Math::Pure— mirrors upstreammath_element_main(types.cppo.ml:1009), flattened (the math-class lives directly on each variant here, rather than in a separate wrappingMathElement(kind, math_char_main)layer) since nothing else needs the undecoratedmath_char_mainon its own. - Value