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

Feature/552 eval constant terms #564

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aannleax
Copy link
Member

@aannleax aannleax commented Dec 9, 2024

Adds the function reduce to all Terms in the rule model, which simplifies constant expressions within Operations. This is accomplished by translating the term and running a StackProgram ensuring that the result matches what would happen during rule evaluation.

Closes #552.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

Rule model should allow evaluating constant expressions
1 participant