feat(parser): implement ordered comparison chains #63

Merged
rdenadai merged 1 commit from feat/chained-comparisons-sep-032 into main 2026-10-06 20:07:18 +00:00
Owner

Summary

Implement ordered comparison chains with left-to-right, single evaluation and short-circuiting. Add parser, analyzer, codegen, native execution coverage, and update SEP-032 and language documentation.

Depends on #62, which is merged.

Verification

  • Ruff format and lint passed
  • Fast suite: 2220 passed, 1 skipped, 35 xfailed
  • Native comparison and example tests: 115 passed, 24 xfailed
  • Mypy retains pre-existing repository errors.
## Summary Implement ordered comparison chains with left-to-right, single evaluation and short-circuiting. Add parser, analyzer, codegen, native execution coverage, and update SEP-032 and language documentation. Depends on #62, which is merged. ## Verification - Ruff format and lint passed - Fast suite: 2220 passed, 1 skipped, 35 xfailed - Native comparison and example tests: 115 passed, 24 xfailed - Mypy retains pre-existing repository errors.
feat(parser): implement ordered comparison chains
All checks were successful
Sigil / test (3.13) (pull_request) Successful in 8m45s
99a3faf769
Lower ordered chains with one evaluation per operand so effects stay predictable and later operands remain short-circuited.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rdenadai/sigil!63
No description provided.