Unicode Operators are no longer experimental (#20444)
* Unicode Operators are no longer experimental * fixes tests * Update doc/manual.md Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
parent
65c2518d5c
commit
a8cc5d1379
6 changed files with 23 additions and 30 deletions
|
|
@ -695,6 +695,21 @@ are used for other notational purposes.
|
|||
The `not` keyword is always a unary operator, `a not b` is parsed
|
||||
as `a(not b)`, not as `(a) not (b)`.
|
||||
|
||||
Unicode Operators
|
||||
-----------------
|
||||
|
||||
These Unicode operators are also parsed as operators::
|
||||
|
||||
∙ ∘ × ★ ⊗ ⊘ ⊙ ⊛ ⊠ ⊡ ∩ ∧ ⊓ # same priority as * (multiplication)
|
||||
± ⊕ ⊖ ⊞ ⊟ ∪ ∨ ⊔ # same priority as + (addition)
|
||||
|
||||
|
||||
Unicode operators can be combined with non-Unicode operator
|
||||
symbols. The usual precedence extensions then apply, for example, `⊠=` is an
|
||||
assignment like operator just like `*=` is.
|
||||
|
||||
No Unicode normalization step is performed.
|
||||
|
||||
|
||||
Other tokens
|
||||
------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue