summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-02-12 23:15:17 -0800
committerOri Bernstein <ori@eigenstate.org>2017-02-12 23:15:17 -0800
commit2ab43c904adfeaee756145872c744a2fdaee97c2 (patch)
tree4651740a4a9db57b3d95dcabb8cf4c9c7d2f2387 /doc
parent658dd280c40c5a6edb110e1170013e8479fe2bd0 (diff)
downloadmc-2ab43c904adfeaee756145872c744a2fdaee97c2.tar.gz
Update spec to make ucons a normal prefix operator.
Diffstat (limited to 'doc')
-rw-r--r--doc/lang.txt20
1 files changed, 9 insertions, 11 deletions
diff --git a/doc/lang.txt b/doc/lang.txt
index 78f931d..0d20102 100644
--- a/doc/lang.txt
+++ b/doc/lang.txt
@@ -1071,45 +1071,43 @@ TABLE OF CONTENTS:
The specific semantics are covered in later parts of section 5.2.
- Precedence 12:
+ Precedence 11:
x.name Member lookup
x++ Postincrement
- x-- Postdecrement
+ x-- Postdecremendoc/libstd/varargst
x# Dereference
x[e] Index
x[lo:hi] Slice
x(arg,list) Call
- Precedence 11:
+ Precedence 10:
&x Address
!x Logical negation
~x Bitwise negation
+x Positive (no operation)
-x Negate x
+ `Tag val Union constructor
- Precedence 10:
+ Precedence 9:
x << y Shift left
x >> y Shift right
- Precedence 9:
+ Precedence 8:
x * y Multiply
x / y Divide
x % y Modulo
- Precedence 8:
+ Precedence 7:
x + y Add
x - y Subtract
- Precedence 7:
+ Precedence 6:
x & y Bitwise and
- Precedence 6:
+ Precedence 5:
x | y Bitwise or
x ^ y Bitwise xor
- Precedence 5:
- `Name x Union construction
-
Precedence 4:
x == x Equality
x != x Inequality