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

MIR: Achieve feature (+ documentation) parity between SAWScript and Python #1936

Merged
merged 7 commits into from
Sep 15, 2023

Conversation

RyanGlScott
Copy link
Contributor

There were a small handful of features in the MIR backend which were implemented in SAWScript but not implemented in Python:

  • mir_assert. This PR un-deprecates the proclaim() function in the Python bindings, which acts as the Python counterpart to mir_assert. As a side effect, this also fixes Python: Undeprecate proclaim #1676.
  • Some of the type combinators (mir_char, mir_ref, and mir_ref_mut) were missing from the remote API and Python bindings. This PR adds them.

In addition, some of the existing parts of the MIR-related Python bindings didn't have docstrings, so this PR adds them as well. This means that all of the user-facing parts of the MIR-related API in the Python bindings should now be documented.

@RyanGlScott RyanGlScott added subsystem: saw-remote-api Issues related to the SAW server and its RPC bindings subsystem: crucible-mir Issues related to Rust verification with crucible-mir and/or mir-json labels Sep 14, 2023
@RyanGlScott RyanGlScott self-assigned this Sep 14, 2023
Copy link
Contributor

@bboston7 bboston7 left a comment

Choose a reason for hiding this comment

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

Looks good!

@RyanGlScott RyanGlScott added the PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run label Sep 15, 2023
@mergify mergify bot merged commit 37d60f4 into master Sep 15, 2023
@mergify mergify bot deleted the T1676 branch September 15, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: ready to merge Magic flag for pull requests to ask Mergify to merge given an approval and a successful CI run subsystem: crucible-mir Issues related to Rust verification with crucible-mir and/or mir-json subsystem: saw-remote-api Issues related to the SAW server and its RPC bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python: Undeprecate proclaim
2 participants