-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Labels
languageChanges or extensions to the languageChanges or extensions to the languagelow-hanging fruitFor issues that should be easy to fixFor issues that should be easy to fixparserIssues with lexing or parsing.Issues with lexing or parsing.
Description
According to usual math conventions, - x ^^ y should parse as - (x ^^ y).
However, in Cryptol this is parsed instead as (- x) ^^ y, which surprising, inconsistent, and not useful, especially when used with an even exponent. It is inconsistent because the binary minus operator binds more loosely than exponentiation, so that e.g. w - x ^^ y parses as w - (x ^^ y).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
languageChanges or extensions to the languageChanges or extensions to the languagelow-hanging fruitFor issues that should be easy to fixFor issues that should be easy to fixparserIssues with lexing or parsing.Issues with lexing or parsing.