You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Lower boolean and-or expressions with short-circuit control flow #151
enhancementNew feature or requesthelp wantedExtra attention is neededirIntermediate representation, builders, verification and lowering.needs testingRequires focused correctness or coverage validation.priority mediumNormal development backlog priority.
Audit baseline: Whale a254da9e after #131 (2026-09-22). Wave has LogicalAnd/LogicalOr operators, while Whale BinOpRef supports only Add/Sub/Mul. Implementing boolean logic as eager arithmetic would evaluate a right-hand expression that should be skipped.
Add boolean logical expressions to the frontend contract and lower them through CFG branches, preserving exactly-once evaluation. Limit operands/results to bool initially.
Completion criteria
False-and and true-or skip a right-hand trap or effect in semantic tests.
True-and and false-or evaluate the right-hand side once.
Nested expressions produce valid CFG and defined boolean results.
Dependencies and boundaries
Depends on #98 for observable effects and #80 if phi results are used.
Backlog index: #12. This issue owns only the bounded work described above. Tests must run without an external assembler dependency.
enhancementNew feature or requesthelp wantedExtra attention is neededirIntermediate representation, builders, verification and lowering.needs testingRequires focused correctness or coverage validation.priority mediumNormal development backlog priority.
Activity
feat(ir): lower lazy boolean and typed integer frontend operators