mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
6bfe530922
Based on a recent discussion on Slack, and on some related slight terminological changes in the documentation of the Aleo instructions, this commit similarly improves the Leo nomenclature for expressions involving the logical operators. The attribute 'bitwise' for `&` and `|` and `^` has been dropped, since the operations also operate on booleans besides integers. Given that the operation and method names `or` and `xor` for inclusive and exclusive disjunctions (as opposed to `ior` and `xor`), the unqualified 'disjunction' now refers to the inclusive one. The non-strict `&&` and `||` are now called 'conditional' (as done in other languages), and thus the ternary one has been expanded to 'conditional ternary'. This does not change the Leo language; it just improves the nomenclature derived from the grammar. |
||
---|---|---|
.. | ||
error-guides | ||
grammar | ||
rfc | ||
compiler-phases.pdf |