Skip to content

Use SMTLIB style serialization/deserialization for Horn queries#683

Merged
ranjitjhala merged 23 commits into
developfrom
horn-smtlib
Mar 12, 2024
Merged

Use SMTLIB style serialization/deserialization for Horn queries#683
ranjitjhala merged 23 commits into
developfrom
horn-smtlib

Conversation

@ranjitjhala

@ranjitjhala ranjitjhala commented Mar 11, 2024

Copy link
Copy Markdown
Member

I want a human readable and machine serializable format for the horn queries, hence SMTLIB-style, to avoid all the knots of the FP parser.

Leaving the Horn/Parse.hs for backwards compatibility with flux guarded by the --noHornSMT flag; will delete it after moving flux over to this new format.

@facundominguez -- there was some odd glitch with the --ple-with-undecided-guards I had to remove the - as otherwise somehow it wasn't parsing? [ totally unrelated to this PR but it was breaking the CI! ]

Comment thread src/Language/Fixpoint/Types/Config.hs Outdated
, pleWithUndecidedGuards =
False
&= name "ple-with-undecided-guards"
&= name "plewithundecidedguards"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do you mean that keeping dashes here caused CI to fail? It would be helpful to see what the error is.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes keeping the dashes there made the intId test fail (locally) as CmdArgs kept saying “unknown flag”. More mysteriously, the test worked if I just wrote “—ple”…

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think it may be some strange MacOS thing ... have reverted the config flag name, will leave it be if it works in the CI!

@ranjitjhala

Copy link
Copy Markdown
Member Author

(I reverted the flag, will just deal with the local failure on my mac :-) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants