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

Print support for SEXPR #97

Merged
merged 4 commits into from
Jun 24, 2024
Merged

Print support for SEXPR #97

merged 4 commits into from
Jun 24, 2024

Conversation

HanielB
Copy link
Member

@HanielB HanielB commented Jun 24, 2024

No description provided.

Copy link
Member

@alex-ozdemir alex-ozdemir left a comment

Choose a reason for hiding this comment

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

This change is good, but we should have a unit test for it. Either a doctest in the main file, or a standalone test in here.

@HanielB
Copy link
Member Author

HanielB commented Jun 24, 2024

I added the test and in the process I also added a method to create s-expression terms, which I don't think was possible before (and fixed how they should be printed, which is without the commas). I had added the printing function because these terms show up in proofs, so we need to print them.

Copy link
Member

@alex-ozdemir alex-ozdemir left a comment

Choose a reason for hiding this comment

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

Great! Thanks.

@HanielB HanielB merged commit 10bec15 into cvc5:main Jun 24, 2024
1 check passed
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.

2 participants