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

Refactor logic expressions #57

Merged
merged 12 commits into from
Apr 7, 2024
Merged

Conversation

kris7t
Copy link
Contributor

@kris7t kris7t commented Apr 7, 2024

Merge in some commits form the ongoing attribute constraints work so that it doesn't diverge from the main branch too much.

Breaking change: move Query, Dnf, and Term related classes from refinery-store-query into refinery-logic.

Also adds Z3 bindings (with a custom build for Amazon Linux ARM).

kris7t added 12 commits April 7, 2024 14:54
We still have to build Z3 for linux-aarch64, because the official release
requires glibc 2.35 (and the corresponding libstdc++), while Amazon Linux 2023
only supports glibc 2.34.

Also enabled optimization flags from Amazon Linux 2023 for the aarch64 Z3 build.
This tecnically excludes older armv8-a platforms (like Raspberry Pi 4), but most
modern SBC (like Raspberry Pi 5) already support armv8.2-a+crypto. At any rate,
the need to run Refinery on such paltforms in unlikely. At any rate, the build
flags should be supported on Neoverse N1-based cloud providers (including Amazon
and Hetzner), as well as Apple M devices (armv8.5-a).
Also changes ReferenceDeclaration to declare attributes, since reference and
attributes can only be distinguished at linking time.
Also reorganizes operator names for easier future extension.
* Customizable operator overloads.
* Customizable aggregation operators.
* Simplify ProblemQualifiedNameProvider.
Only highlight the * character as a number when it is not used as a
multiplication operator.
Require all abstract domain elements to implement the AbstractValue interface.
@kris7t kris7t merged commit daa787e into graphs4value:main Apr 7, 2024
6 checks passed
@kris7t kris7t deleted the logic-extract branch April 10, 2024 11:46
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