diff options
| author | Cody <cody@codyq.dev> | 2023-03-30 02:44:54 -0500 |
|---|---|---|
| committer | Cody <cody@codyq.dev> | 2023-03-30 02:44:54 -0500 |
| commit | 2970520a9592b5c6d45291f54073552a474b71b4 (patch) | |
| tree | f42ecc1be0989367cf7c70d0b7909bac0b86904e /docs/precedence.md | |
| parent | bb95375f8b24141bf7dfe5a8b1bba5c995f61253 (diff) | |
| download | sloth-2970520a9592b5c6d45291f54073552a474b71b4.tar.gz | |
Restructure
Diffstat (limited to 'docs/precedence.md')
| -rw-r--r-- | docs/precedence.md | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/docs/precedence.md b/docs/precedence.md deleted file mode 100644 index 32cc5de..0000000 --- a/docs/precedence.md +++ /dev/null @@ -1,17 +0,0 @@ -Operating precedence in sloth from highest to lowest. - -| Name | Operators | Associates | -| -------------- | --------- | ---------- | -| parentheses | () | Left | -| member access | . ! !! ?. | Left | -| defaulting | ?: | Right | -| function call | () | Left | -| unary | ! + - | Right | -| multiplicative | \* / % | Left | -| additive | + - | Left | -| bitwise shift | << >> | Left | -| comparison | < > <= >= | Left | -| equality | == != | Left | -| bitwise | & ^ \| | Left | -| logical and | && | Left | -| logical or | \|\| | Left | |
