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

Remove nums #600

Merged
merged 4 commits into from
May 22, 2023
Merged

Remove nums #600

merged 4 commits into from
May 22, 2023

Conversation

Halbaroth
Copy link
Collaborator

@Halbaroth Halbaroth commented May 17, 2023

This PR removes the support for the deprecated Nums library as suggested in #590.

@Halbaroth Halbaroth added this to the 2.5.0 milestone May 17, 2023
@Halbaroth Halbaroth changed the title Remove num Remove nums May 17, 2023
@Halbaroth Halbaroth marked this pull request as ready for review May 19, 2023 12:12
@bclement-ocp
Copy link
Collaborator

The parser and ast are still using num in this PR I believe, is that intentional?

@Halbaroth
Copy link
Collaborator Author

No, I didn't notice it... I modified the legacy parser to use only Zarith.

Copy link
Collaborator

@bclement-ocp bclement-ocp left a comment

Choose a reason for hiding this comment

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

This looks good to me, please just remove the old code from the comments.

I believe decimal_number (and hexa_number) could be implemented with Q.of_string (Q.of_string ("0x" ^ x), respectively), but the specialized implementation is probably a tiny bit faster. Not that it matters much…

src/parsers/psmt2_to_alt_ergo.ml Outdated Show resolved Hide resolved
@Halbaroth Halbaroth merged commit 9974963 into OCamlPro:next May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants