Skip to content

[CN] Feature: add logical implication to the spec language #329

Closed
@septract

Description

@septract

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions