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§
- Expression
Like - Core evaluation interface for expression AST nodes.
Functions§
- evaluate_
and_ promote - Evaluate two expressions and promote the right
Valueto the left’s type. - statically_
evaluate - Evaluate an expression statically without external state.