Module evaluate

Module evaluate 

Source
Expand description

Core evaluation traits for AIMX expressions.

Provides ExpressionLike for AST nodes and helpers for binary type promotion and static evaluation suitable for agentic usage.

Traits§

ExpressionLike
Core evaluation interface for expression AST nodes.

Functions§

evaluate_and_promote
Evaluate two expressions and promote the right Value to the left’s type.
statically_evaluate
Evaluate an expression statically without external state.