Expand description
Typed calculation semantics shared by Tanu Markdown, TSQ1, and Kitu.
This crate implements a bounded OpenFormula 1.4 function-semantics subset. It deliberately does not parse formula source or resolve references.
Modules§
- extensions
- Dependency-light example extensions used by Kitu integrations. Example Kitu extension registration.
Structs§
- Calc
Error - A typed calculation error without parser- or storage-specific location data.
- Function
Metadata - Compatibility information attached to every registry entry.
- Function
Registry - Case-insensitive registry with separate standard and extension namespaces.
- Number
- A finite calculation number with a deliberately private representation.
- Pure
Context - A context that rejects every impure capability.
Enums§
- Argument
- An evaluated function argument retaining whether values came from a range.
- Calc
Error Kind - Stable categories for calculation failures.
- Coercion
Policy - Controls host-selected implicit conversions.
- Function
Namespace - Whether a registered function is standard or explicitly namespaced.
- Value
- A scalar value understood by the calculation kernel.
Traits§
- Eval
Context - Host-provided capabilities for impure or time-dependent functions.
Functions§
- coerce_
logical - Convert a scalar to a logical under the selected host policy.
- coerce_
number - Convert a scalar to a number under the selected host policy.
Type Aliases§
- Calc
Result - Result returned by calculation-kernel operations.
- Function
Handler - Function pointer accepted by the registry for standard and extension calls.