Currently: CN's spec language only supports C's ternary conditional operator B ? P : Q
Ideally: CN should support logical implication A ==> B (or whatever symbol we prefer for implication - but I suggest we use ==> which is the ACSL / FramaC's syntax).
How: Desugar to a ternary conditional, or duplicate and modify the code which supports the ternary conditional.
This might be an easy first change for someone diving into the CN codebase.
Currently: CN's spec language only supports C's ternary conditional operator
B ? P : QIdeally: CN should support logical implication
A ==> B(or whatever symbol we prefer for implication - but I suggest we use==>which is the ACSL / FramaC's syntax).How: Desugar to a ternary conditional, or duplicate and modify the code which supports the ternary conditional.
This might be an easy first change for someone diving into the CN codebase.