summaryrefslogtreecommitdiff
path: root/docs/language
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-08 16:17:14 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-08 16:17:14 -0400
commitca458bfcd65c3a094fd0721cb5cd9f74dee5f845 (patch)
tree084de1c6d98fd1cdffe3d0bc47ed5af24e491fb8 /docs/language
parent47dfee7481d9f64d0518ea7a408af113cffd84c6 (diff)
remove action from ast
Diffstat (limited to 'docs/language')
-rw-r--r--docs/language/index.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/language/index.md b/docs/language/index.md
index a5dce76..5d1b31f 100644
--- a/docs/language/index.md
+++ b/docs/language/index.md
@@ -112,12 +112,22 @@ A list of statements between `()` separated by `;` or `\n`
# Definitions
-A list of type definitions between `[]` separated by `;` or `\n`
+A list of definitions between `[]` separated by `;` or `\n`
```text
Type[arg]
```
+## Destructuring
+
+```text
+v : Tuple(1; 2; 3)
+v [a; b; c]
+`log a // I64.a $ 1
+`log b // I64.b $ 2
+`log c // I64.c $ 3
+```
+
# Actions
A list of statements between `{}` separated by `;` or `\n` associated with a conditional