summaryrefslogtreecommitdiff
path: root/docs/syntax.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/syntax.md')
-rw-r--r--docs/syntax.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/docs/syntax.md b/docs/syntax.md
index dd468ed..08f87a4 100644
--- a/docs/syntax.md
+++ b/docs/syntax.md
@@ -80,6 +80,8 @@
```text
@.tag condition {[arguments] statements }
+
+@.tag (statement; condition; increment) { statements }
```
#### ``break
@@ -96,7 +98,7 @@
}
```
-## Coroutines ``{[] ... }`
+## Lambdas ``{[arguments] ... }`
### ``return
@@ -106,10 +108,12 @@
### ``await
-## Generators `^{[] ... }`
+## Generators `^{[arguments] ... }`
+
+### ``init
### ``yield
-### ``stop
+### ``done
### ``next