-
Notifications
You must be signed in to change notification settings - Fork 24
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
Inequality is not supported #71
Comments
Change Manager: Confirmed that the issue exists. |
Technical Lead: Confirmed that the issue should be addressed. |
Technical Lead: Issue scheduled for Ogma 1.(0+X).(7+Y). Fix assigned to: @ivanperez-keera. |
Requirements that contain inequalities in conditions in the TL formulas fail to be parsed correctly by Ogma. This commit modifies the SMV grammar so that inequality is supported by the language.
Requirements that contain inequalities in conditions in the TL formulas fail to be parsed correctly by Ogma. This commit adds the translation of SMV's inequality operator != into Copilot's /= operator.
Requirements that contain inequalities in conditions in the TL formulas fail to be parsed correctly by Ogma. This commit modifies the CoCoSpec grammar so that inequality is supported by the language.
Requirements that contain inequalities in conditions in the TL formulas fail to be parsed correctly by Ogma. This commit adds the translation of CoCoSpec's inequality operator <> into Copilot's /= operator.
Ogma translates FRET's not-equal operator as Copilot's (/=), which clashes with the Prelude's. This commit hides that import from the Prelude in generated code.
Requirements that contain the not-equal binary operator in TL formulas fail to be parsed correctly by Ogma. This commit modifies the SMV grammar so that inequality is supported by the encoding of the language.
Requirements that contain the not-equal binary operator in TL formulas fail to be parsed correctly by Ogma. This commit adds the translation of SMV's inequality operator != into Copilot's /= operator.
…efs #71. Requirements that contain the not-equal binary operator in TL formulas fail to be parsed correctly by Ogma. This commit modifies the CoCoSpec grammar so that inequality is supported by the encoding of the language.
…#71. Requirements that contain the not-equal binary operator in TL formulas fail to be parsed correctly by Ogma. This commit adds the translation of CoCoSpec's inequality operator <> into Copilot's /= operator.
Ogma translates FRET's not-equal operator as Copilot's (/=), which clashes with the Prelude's. This commit hides that import from the Prelude in generated Copilot code.
Implementor: Solution implemented, review requested. |
Change Manager: Verified that:
|
Change Manager: Implementation ready to be merged. |
Description
Requirements that contain inequalities in conditions in the TL formulas fail to be parsed correctly by Ogma.
Type
Additional context
None.
Requester
Method to check presence of bug
The following command reports an error instead of producing a monitor specification.
where
file.json
contains the following:The error produced is:
Expected result
The json file above should be usable with Ogma and produce a valid Copilot monitor.
Desired result
The json file above should be usable with Ogma and produce a valid Copilot monitor.
Proposed solution
Modify SMV grammar to accept inequality. Adjust the rest of Ogma accordingly (e.g., translation to Copilot).
Modify CoCoSpec grammar to accept inequality. Adjust the rest of Ogma accordingly (e.g., translation to Copilot).
Further notes
None.
The text was updated successfully, but these errors were encountered: