summaryrefslogtreecommitdiff
path: root/docs/language
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-08 11:38:20 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-08 11:38:20 -0400
commitfd774948e6ac3506c24e6b87b6ef98403aa85951 (patch)
tree8335f5d44694e357a08715c75d05de3964ba2434 /docs/language
parentceb874e83d44a2c3d7c7d167fc8853694538ae53 (diff)
add action and remove assigment from namespace
Diffstat (limited to 'docs/language')
-rw-r--r--docs/language/index.md26
-rw-r--r--docs/language/operators.md6
2 files changed, 25 insertions, 7 deletions
diff --git a/docs/language/index.md b/docs/language/index.md
index b63d3e4..a5dce76 100644
--- a/docs/language/index.md
+++ b/docs/language/index.md
@@ -126,7 +126,7 @@ Arguments are specified with a `[]` at the beginning of the `{}`
## Conditionals
-#### Loop `@`
+### Loop `@`
```text
@ condition { statements }
@@ -138,7 +138,23 @@ Arguments are specified with a `[]` at the beginning of the `{}`
@.name condition {[args] statements }
```
-#### If `?`
+#### ``break` `break .name`
+
+Stops a loop
+
+```text
+@.a 1 .. 5 {[x]
+ @.b 1 .. 5 {[y]
+ ? x = y { `break .a }
+ }
+}
+```
+
+#### ``continue` `continue .name`
+
+Move loop to next iteration
+
+### If `?`
```text
? condition { statements }
@@ -148,10 +164,10 @@ Arguments are specified with a `[]` at the beginning of the `{}`
{ default statements }
}
-? condition {[arg] arg; .... }
+? condition {[args] statements }
```
-#### Match `#`
+### Match `#`
```text
# match {
@@ -161,7 +177,7 @@ Arguments are specified with a `[]` at the beginning of the `{}`
}
```
-#### Mutation `^`
+### Mutation `^`
```test
^ mutation {[args] statements }
diff --git a/docs/language/operators.md b/docs/language/operators.md
index dbf17ea..183b2d3 100644
--- a/docs/language/operators.md
+++ b/docs/language/operators.md
@@ -8,9 +8,11 @@
## Cast `$`
-## `log
+## ``log`
-If no `File` is specified the output is send to `stdout`
+Configurable logger, output format and destination can be changed
+
+## ``debugger`
## ``format`