fix readme
This commit is contained in:
parent
1d0795ca96
commit
e492ad9a4a
1 changed files with 15 additions and 15 deletions
|
@ -69,13 +69,13 @@ All `matrix` operators in order of high to low precedence from top down
|
||||||
| `Add`, `Subtract` | `+`, `-` | left to right | `1 + 2` |
|
| `Add`, `Subtract` | `+`, `-` | left to right | `1 + 2` |
|
||||||
| Bitwise shift | `<<`, `>>` | left to right | `13 << 2` |
|
| Bitwise shift | `<<`, `>>` | left to right | `13 << 2` |
|
||||||
| Bitwise `And` | `&` | left to right | `a & 0xC3` |
|
| Bitwise `And` | `&` | left to right | `a & 0xC3` |
|
||||||
| Bitwise `Xor` | `^` | left to right | `3 ^ 4`` |
|
| Bitwise `Xor` | `^` | left to right | `3 ^ 4` |
|
||||||
| Bitwise `Or` | `|` | left to right | `b | 0xC3` |
|
| Bitwise `Or` | `\|` | left to right | `b \| 0xC3` |
|
||||||
| Comparison | `==`, `!=`, `<`, `>`, `<=`, `>=` | left to right | `a == b`, `c != d` |
|
| Comparison | `==`, `!=`, `<`, `>`, `<=`, `>=` | left to right | `a == b`, `c != d` |
|
||||||
| `And` | `&&` | left to right | `res && other` |
|
| `And` | `&&` | left to right | `res && other` |
|
||||||
| `Or` | `||` | left to right | `this || that` |
|
| `Or` | `\|\|` | left to right | `this \|\| that` |
|
||||||
| `Range` | `..`, `..=` | left to right | `1..2`, `10..=20` |
|
| `Range` | `..`, `..=` | left to right | `1..2`, `10..=20` |
|
||||||
| `Assign`, `OpAssign` | `=`, `+=`, `-=`, `*=`, `/=`, `%=`, `&=`, `|=`, `^=`, `<<=`, `>>=`, `**=`, `&&=`, `||=` | right to left | `a = 3`, `i += 1` |
|
| `Assign`, `OpAssign` | `=`, `+=`, `-=`, `*=`, `/=`, `%=`, `&=`, `\|=`, `^=`, `<<=`, `>>=`, `**=`, `&&=`, `\|\|=` | right to left | `a = 3`, `i += 1` |
|
||||||
|
|
||||||
## Variables and Scope
|
## Variables and Scope
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue