Skip to content

compiler/rungen: always use vam for dag.Expr#7073

Open
nwt wants to merge 1 commit into
mainfrom
always-use-vam-expr
Open

compiler/rungen: always use vam for dag.Expr#7073
nwt wants to merge 1 commit into
mainfrom
always-use-vam-expr

Conversation

@nwt

@nwt nwt commented Jun 26, 2026

Copy link
Copy Markdown
Member

The compiler uses sam implementations of operators not yet implemented for vam, and expressions referenced by those operators also use sam when compiled by Builder.compilerExpr. Use vam for those expressions by calling compileVamExpr from compileExpr and wrapping the result in samEvaluator, which allows a vam/expr.Evalator to be used as a sam/expr.Evaluator.

@nwt nwt requested a review from a team June 26, 2026 18:25
The compiler uses sam implementations of operators not yet implemented
for vam, and expressions referenced by those operators also use sam when
compiled by Builder.compilerExpr.  Use vam for those expressions by
calling compileVamExpr from compileExpr and wrapping the result in
samEvaluator, which allows a vam/expr.Evalator to be used as a
sam/expr.Evaluator.
@nwt nwt force-pushed the always-use-vam-expr branch from 68cd956 to 69a6eb6 Compare June 26, 2026 18:26
@nwt nwt changed the title compiler/rungen: alwqys use vam for dag.Expr compiler/rungen: always use vam for dag.Expr Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants