Skip to content

Implement trait-based handling for infix operators - #42

Merged
neysofu merged 9 commits into
mainfrom
filippo/codex/refactor-infix-operators-traitbased
Mar 6, 2026
Merged

Implement trait-based handling for infix operators#42
neysofu merged 9 commits into
mainfrom
filippo/codex/refactor-infix-operators-traitbased

Conversation

@neysofu

@neysofu neysofu commented Mar 6, 2026

Copy link
Copy Markdown
Member

Summary

  • rename the std equality trait to Equality and introduce new operator traits plus trait-based impls for Char, AsciiChar, and String
  • update compiler resolver/ir normalization so infix syntax dispatches through trait calls rather than hardwired builtin paths while keeping primitive scalars reserved
  • refresh docs, instructions, and snapshots/fixtures to reflect the new trait surface

Testing

  • Not run (not requested)

neysofu added 9 commits March 5, 2026 17:38
Signed-off-by: Filippo Costa <filippo@neysofu.me>
Signed-off-by: Filippo Costa <filippo@neysofu.me>
Signed-off-by: Filippo Costa <filippo@neysofu.me>
Signed-off-by: Filippo Costa <filippo@neysofu.me>
Signed-off-by: Filippo Costa <filippo@neysofu.me>
@neysofu
neysofu merged commit 62db62c into main Mar 6, 2026
1 of 2 checks passed
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.

1 participant