-
Notifications
You must be signed in to change notification settings - Fork 150
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
add toml support for pyk options #4254
Conversation
@ovatman you'll need to rebase on |
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.
This looks good to me, once it has been rebased properly and the KEVM and kontrol branches are working. I like the solution of having the mapping from command-line string format to python variable format.
There may be a way to avoid having to mention all the superclasses in from_option_string
, by adding a new function in Options
here similar to the constructor that collects and merges the from_option_string
s for any type of Options
.
There is a lot of boilerplate that has to be duplicated across all 3 repos, but this was also the case with version of Options
that was merged. Hopefully eventually we will be wrapping the argparse and toml parsing logic and consolidating most of the boilerplate into pyk only (Similar to what is mentioned in #4188)
28bcfb0
to
68705e1
Compare
Fixes #4197 This PR allows calling `pyk prove` with a custom server executable via `pyk prove --kore-rpc-command COMMAND`, which is especially useful when giving logging options to the server, i.e.: ``` pyk prove test-spec.k --verbose --kore-rpc-command 'kore-rpc-booster -l Simplify' ```
fixes #4187 The pyk outer lexer now has location information for attribute tokens. The unit tests for the lexer now check that the token text actually appears at its location in the source text. --------- Co-authored-by: rv-jenkins <[email protected]>
Co-authored-by: devops <[email protected]>
Transfer of: runtimeverification/pyk#1008