Skip to content

feat(core): create expression references#2664

Merged
elijah-potter merged 6 commits intomasterfrom
expr-refs
Feb 5, 2026
Merged

feat(core): create expression references#2664
elijah-potter merged 6 commits intomasterfrom
expr-refs

Conversation

@elijah-potter
Copy link
Collaborator

Issues

N/A

Description

This PR introduces "expression references", which allow you to define reusable expressions in Weir that can be composed together to create progressively more complex behavior. I've also included a new rule that detects missing determiners that takes advantage of the new syntax. I suggest you read the updated documentation in this PR and take a look at the example rule for an idea of what it looks like.

How Has This Been Tested?

Extensive unit tests.

Checklist

  • I have performed a self-review of my own code
  • I have added tests to cover my changes

@elijah-potter elijah-potter added this pull request to the merge queue Feb 5, 2026
Merged via the queue into master with commit 94c1205 Feb 5, 2026
11 checks passed
@elijah-potter elijah-potter deleted the expr-refs branch February 5, 2026 20:58
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