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

[SMT] Add SMT-LIB export translation #6870

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

maerhart
Copy link
Member

Quantifier patterns and other attributes are not yet supported, but will be added in a future PR since this one is already quite big. Feel free to let me know if I should split it up

Copy link
Contributor

@fabianschuiki fabianschuiki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm no expert on the SMT-LIB format, but from what I've seen of it, this looks good. I like the use of a visitor to produce the output, and the proper organization into a Target. And ExportSMTLIB itself is nicely factored into emission per supported theory. Very neat.

LGTM 🥳

lib/Target/ExportSMTLIB/ExportSMTLIB.cpp Outdated Show resolved Hide resolved
Copy link

@math-fehr math-fehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really really nice, I don't have anything to say there!

@maerhart maerhart merged commit 87020b2 into main Mar 27, 2024
4 checks passed
@maerhart maerhart deleted the maerhart-smtlibexporter branch March 27, 2024 07:57
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.

3 participants