-
Notifications
You must be signed in to change notification settings - Fork 161
Emit json definitions when kompiling #771
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
Conversation
…ializing is being implemented and discussed
… json-formatted definitions
…g config + substitution
…file for some reason
dwightguth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What exactly is this being used for? I highly doubt it is going to be possible to serialize, deserialize, and then compile or krun using the result. Not without more work to ensure a faithful rendering.
kernel/src/main/java/org/kframework/kompile/KompileOptions.java
Outdated
Show resolved
Hide resolved
|
@dwightguth I'm going to use it to build Python unparsers for KLabels automatically using I do eventually want to be able to re-load definitions, but I removed the |
f726f41 to
a11bf45
Compare
dwightguth
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable if you don't intend to deserialize it in the frontend yet.
fixes: #771 This consolidates parameter validation into the Kompile classes so they don't have to be declared a second time in KBuild. --------- Co-authored-by: devops <devops@runtimeverification.com>
fixes: #771 This consolidates parameter validation into the Kompile classes so they don't have to be declared a second time in KBuild. --------- Co-authored-by: devops <devops@runtimeverification.com>
fixes: #771 This consolidates parameter validation into the Kompile classes so they don't have to be declared a second time in KBuild. --------- Co-authored-by: devops <devops@runtimeverification.com>
fixes: #771 This consolidates parameter validation into the Kompile classes so they don't have to be declared a second time in KBuild. --------- Co-authored-by: devops <devops@runtimeverification.com>
fixes: #771 This consolidates parameter validation into the Kompile classes so they don't have to be declared a second time in KBuild. --------- Co-authored-by: devops <devops@runtimeverification.com>
fixes: #771 This consolidates parameter validation into the Kompile classes so they don't have to be declared a second time in KBuild. --------- Co-authored-by: devops <devops@runtimeverification.com>
pykserialization to files when running{krun,kast,kprove}JSONfunctions.--emit-jsonoption to Kompile which emits the json serialized definition to the-kompileddirectory (and test of it).