diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-09-18 12:56:34 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-09-18 12:56:34 -0400 |
| commit | d6624dece8cd3de26a5f3e8c1e7c018ffc8870b7 (patch) | |
| tree | 5c68ffb99e61a42bd20526229a45cdddd6a35657 /docs | |
| parent | 8c1449a96ea2e8960fdca9dad9f6dcfe083a6235 (diff) | |
call fork syntax
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/containers.md | 2 | ||||
| -rw-r--r-- | docs/coroutines.md | 8 | ||||
| -rw-r--r-- | docs/io.md | 2 | ||||
| -rw-r--r-- | docs/memory.md | 2 | ||||
| -rw-r--r-- | docs/syntax.md | 4 | ||||
| -rw-r--r-- | docs/tagging.md | 4 | ||||
| -rw-r--r-- | docs/thread.md | 2 |
7 files changed, 17 insertions, 7 deletions
diff --git a/docs/containers.md b/docs/containers.md index 6b7fc0c..da895db 100644 --- a/docs/containers.md +++ b/docs/containers.md @@ -16,6 +16,8 @@ * ```join`` +* ```format` + * ```log`` ### `[]` diff --git a/docs/coroutines.md b/docs/coroutines.md index b06922e..9f56024 100644 --- a/docs/coroutines.md +++ b/docs/coroutines.md @@ -8,11 +8,13 @@ * ```return`` -* ```sync`` +* ```call`` -* ```async`` +* ```fork`` -* ```await`` +* ```join`` + +* ```cancel`` * ```log`` @@ -2,4 +2,6 @@ --- +## Configuration + ## Initialization diff --git a/docs/memory.md b/docs/memory.md index c64e962..786fbc1 100644 --- a/docs/memory.md +++ b/docs/memory.md @@ -2,6 +2,8 @@ --- +## Configuration + ## Pooling ## Garbage Collection diff --git a/docs/syntax.md b/docs/syntax.md index 1c28324..0f133ea 100644 --- a/docs/syntax.md +++ b/docs/syntax.md @@ -102,7 +102,7 @@ ```text add : `{[I64 x; I64 y] x + y } -add `sync (1; 2) +add `call (1; 2) ``` ## Generators `^{[arguments] ... }` @@ -111,6 +111,6 @@ add `sync (1; 2) gen : ^{[I64 n] @ 1 .. n {[x] `yield x } } -it : gen `sync 10 +it : gen `init 10 `next it ``` diff --git a/docs/tagging.md b/docs/tagging.md index 2c392d8..0dd44e2 100644 --- a/docs/tagging.md +++ b/docs/tagging.md @@ -47,7 +47,7 @@ mu : `{[Bool i] ```text // using the mu corotuine from above -i : # mu `sync `true { +i : # mu `call `true { .int {[i] i } .float {[f] I64 f } } @@ -57,7 +57,7 @@ i : # mu `sync `true { ```text // using the mu coroutine from aboce -i : mu `sync.int `true +i : mu `call.int `true ``` ## Generators diff --git a/docs/thread.md b/docs/thread.md index d838417..b8f7c94 100644 --- a/docs/thread.md +++ b/docs/thread.md @@ -2,6 +2,8 @@ --- +## Configuration + ## Initialization ## Allocator |
