-
Notifications
You must be signed in to change notification settings - Fork 78
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
Program slicing for ambiguous dates computation #477
base: master
Are you sure you want to change the base?
Conversation
The place where you can tweak which subexpressions are extracted is here : catala/compiler/verification/conditions.ml Lines 292 to 310 in 123b9c7
The place where you can take all the subexpressions that have been extraced and do something with them (like plug them in Mopsa) is here: catala/compiler/verification/solver.ml Lines 33 to 39 in 123b9c7
The command to test what you're getting is :
|
The information about possible values for each scope variables are here: catala/compiler/verification/solver.ml Line 31 in a58e488
The type of this thing is catala/compiler/verification/conditions.mli Lines 41 to 51 in a58e488
|
…mplete, we just lack some type annotations
@AltGr could you please resolve conflicts in this PR when you have time? If you want to run it, you'll need Mopsa on my private branch, The command to run the current tests
|
This PR adds a new kind of verification conditions that can be handled by the verification backends : a subexpression that could raise
Dates_calc.AmbiguousComputation
.