Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ast): add Expression::is_associative_commutative_operator() #498

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

niklasdewally
Copy link
Collaborator

Implement method of Expression to check whether an expression is an associative-commutative operator. The concept of an AC operator will be useful down the line for A-CSE, generic normalisation rules, and quantified expressions.

Related-issues: [#491,#493]

Fixes: #494

Implement method of Expression to check whether an expression is an
associative-commutative operator. The concept of an AC operator will be
useful down the line for A-CSE, generic normalisation rules, and
quantified expressions.

Related-issues: [conjure-cp#491,conjure-cp#493]
Fixes: conjure-cp#494
@niklasdewally niklasdewally self-assigned this Nov 26, 2024
@niklasdewally niklasdewally merged commit 7f99377 into conjure-cp:main Nov 26, 2024
15 checks passed
@niklasdewally niklasdewally deleted the pr/add-is-ac branch November 26, 2024 19:10
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.

Implement is_ac_operator method (or another way to tell if an operator is AC)
2 participants