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

JSON v2 - serialize label params #2572

Closed
wants to merge 4 commits into from
Closed

JSON v2 - serialize label params #2572

wants to merge 4 commits into from

Conversation

radumereuta
Copy link
Contributor

Fixes: #2522
Fixes: #1509

@ehildenb
Copy link
Member

ehildenb commented May 4, 2022

You'll have to add a KLabel class to kast.py in pyk, and modify KApply to use this class directly. I would really like it if this still worked: KApply('some_symbol', [args]), so taht we don't always have to supply sort params. So KApply(KLabel('some_symbol', sort_params), [args]) is also possible.

Then you need to modify the from_dict and to_dict functions of each KInner that is affected.

https://github.com/runtimeverification/k/blob/master/pyk/src/pyk/kast.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants