fix readme

This commit is contained in:
Freya Murphy 2024-02-29 18:53:10 -05:00
parent 1d0795ca96
commit 714397a108
Signed by: freya
GPG key ID: 744AB800E383AE52

View file

@ -70,12 +70,12 @@ All `matrix` operators in order of high to low precedence from top down
| 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