Operators

Operators of the Zinc language can be divided into several groups:

#№ Precedence

The top one is executed first.

OperatorAssociativity
::left to right
[] .left to right
- ~ !unary
asleft to right
* / %left to right
+ -left to right
<< >>left to right
&left to right
^left to right
left to right
== != <= >= < >require parentheses
&&left to right
^^left to right
⎮⎮left to right
.. ..=require parentheses
= += -= *= /= %= ⎮= ^= &= <<= >>=require parentheses