Parsed formula expression.
Host that resolves cell IDs to numbers or structured FormulaError values.
The FormulaResult produced by the evaluator.
This is the public entry point that any future Rust evaluator must
also satisfy. The TS implementation is a recursive interpreter over
the Ast discriminated union; structured failures short-
circuit through an internal exception channel and are normalised to
an error FormulaResult at this boundary. Unexpected
exceptions thrown from the host are surfaced as argument-error.
Evaluate a parsed formula AST against a FormulaHost.