summaryrefslogtreecommitdiff
path: root/LANGUAGE.txt
blob: 0f55887fbd19b002cf727452e4ce0296aedf5064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Statements are terminated by ';'.
The usual infix expression rules apply, with the following precedence table:
(lower precedence number means tighter binding)

 Operators   Precedence   Associativity
    **            1           Right
    - ! ~         2        Prefix unary
    * / %         3           Left
    + -           4           Left
    &             5           Left
    ^             6           Left
    |             7           Left
 < > <= >=        8       Nonassociative
   == !=          9       Nonassociative
    &&           10           Left (short-circuiting)
    ^^           11           Left
    ||           12           Left (short-circuiting)
    =            13           Right  (also += -= *= /= %= **= &= ^= |=)