summaryrefslogtreecommitdiff
path: root/docs/syntax
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-01 18:08:43 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-01 18:08:43 -0400
commit040fb35732e6c7c0d8f4ccf7c9bee7242cea6939 (patch)
treedead2e81dd8b3778867291c0bbb93b2b75b014a3 /docs/syntax
parent07251d8774190396191b1f6c63be586902bca665 (diff)
update action syntax and start application
Diffstat (limited to 'docs/syntax')
-rw-r--r--docs/syntax/index.md14
-rw-r--r--docs/syntax/operators.md4
2 files changed, 12 insertions, 6 deletions
diff --git a/docs/syntax/index.md b/docs/syntax/index.md
index fa47202..fe97143 100644
--- a/docs/syntax/index.md
+++ b/docs/syntax/index.md
@@ -122,6 +122,8 @@ Type[arg]
A list of statements between `{}` separated by `;` or `\n` associated with a conditional
+Arguments are specified with a `[]` at the beginning of the `{}`
+
## Conditionals
#### Loop `@`
@@ -129,11 +131,11 @@ A list of statements between `{}` separated by `;` or `\n` associated with a co
```text
@ condition { statements }
-@ condition { statements }[args]
+@ condition {[args] statements }
-@ condition { statements }[.name]
+@ condition {[.name] statements }
-@ condition { statements }[.name; args]
+@ condition {[.name; args] statements }
```
#### If `?`
@@ -146,7 +148,7 @@ A list of statements between `{}` separated by `;` or `\n` associated with a co
{ default statements }
}
-? condition { arg; .... }[arg]
+? condition {[arg] arg; .... }
```
#### Match `#`
@@ -154,7 +156,7 @@ A list of statements between `{}` separated by `;` or `\n` associated with a co
```text
# match {
target { statements }
- target { statements }[args]
+ target {[args] statements }
{ default statements }
}
```
@@ -162,5 +164,5 @@ A list of statements between `{}` separated by `;` or `\n` associated with a co
#### Mutation `^`
```test
-^ mutation { statements }[args]
+^ mutation {[args] statements }
```
diff --git a/docs/syntax/operators.md b/docs/syntax/operators.md
index 15241df..dc518ab 100644
--- a/docs/syntax/operators.md
+++ b/docs/syntax/operators.md
@@ -63,3 +63,7 @@ Stops execution and prints `Any` to `stdout`
```
## ``type`
+
+## ``return_type`
+
+## ``fork_type`