Core feature

Resource limits

Bound work before it grows: expression length, nesting, arguments, exponents, and factorial inputs.

← All documentation

Fail closed by configuration.

EvaluationOptions lets you choose bounded defaults for your product. Limits are checked before expensive work and return ordinary source-aware errors instead of timeouts or runaway allocations.

Expression

Length & depth

Protect parsers and user interfaces from oversized or deeply nested input.

Evaluation

Magnitude & calls

Bound exponents, factorials, and function argument counts.