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 uses of klabel{}(_) attribute for special-casing symbols #3741

Merged
merged 9 commits into from
Mar 20, 2024

Conversation

Baltoli
Copy link
Contributor

@Baltoli Baltoli commented Mar 15, 2024

See #3742 for full context; this PR adds a backwards-compatible check for symbol'Kywd as well as klabel for the pseudo-builtin sorts Endianness and Signedness. When this is merged, I'll be able to finish working on runtimeverification/k#4045. Then, when that PR lands, the frontend will no longer emit klabel(_) to KORE, and we can safely remove the backwards-compatible part of this PR.

The integration test suite's checked-in KORE files are all updated to use the new attribute rather than the old one, but the tests that use K to compile fresh KORE will still be using klabel(_) until the dependency update job induced by the changes above goes through.

I have verified manually that building K with this HB commit allows the failing integration test in #3742 to pass.

Thanks @jberthold for the suggestions!

The implementation here would ideally be made backwards-compatible; my version induces a dependency loop (hence failing tests, it would need an update to the K dependency to go through first for the integration test suite to pass).

@Baltoli Baltoli changed the title More focused Remove uses of klabel{}(_) attribute for special-casing symbols Mar 15, 2024
@Baltoli Baltoli marked this pull request as ready for review March 20, 2024 16:23
Copy link
Member

@jberthold jberthold left a comment

Choose a reason for hiding this comment

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

LGTM

@Baltoli Baltoli linked an issue Mar 20, 2024 that may be closed by this pull request
@rv-jenkins rv-jenkins merged commit 94ea4ee into master Mar 20, 2024
7 checks passed
@rv-jenkins rv-jenkins deleted the rename-klabel branch March 20, 2024 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Usages of klabel{}(_) attribute remain
3 participants