aboutsummaryrefslogtreecommitdiff
path: root/documentation/order.txt
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-04-08 14:46:57 -0500
committerCody <cody@codyq.dev>2023-04-08 14:46:57 -0500
commitac7d2a187bff55ddda5e22e1cbda1090ff8d0a1f (patch)
tree7b04e6b20dff06e69b35a10788e0c12c8d89fc45 /documentation/order.txt
parent6e218c3fcde07f7b6c3111a8d6d915bc9292e07e (diff)
downloadsloth-ac7d2a187bff55ddda5e22e1cbda1090ff8d0a1f.tar.gz
Progress
Diffstat (limited to 'documentation/order.txt')
-rw-r--r--documentation/order.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/documentation/order.txt b/documentation/order.txt
new file mode 100644
index 0000000..8727306
--- /dev/null
+++ b/documentation/order.txt
@@ -0,0 +1,18 @@
+| 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 and | & | Left |
+| bitwise xor | ^ | Left |
+| bitwise or | | | Left |
+| logical and | && | Left |
+| logical or | || | Left |
+