diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-02 16:26:09 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-02 16:26:09 -0400 |
| commit | b26ad08b39b8229dcea0bafc4a8ba4b0d7ad7154 (patch) | |
| tree | 1a469cc7f1ab2bbf2af42336518fa19ad0d0ed76 /docs/language/operators.md | |
| parent | ba087e5dbcc50537d82da5dbc602df7292d3f24c (diff) | |
reformat with sync and async calls
Diffstat (limited to 'docs/language/operators.md')
| -rw-r--r-- | docs/language/operators.md | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/docs/language/operators.md b/docs/language/operators.md new file mode 100644 index 0000000..d8ae378 --- /dev/null +++ b/docs/language/operators.md @@ -0,0 +1,71 @@ +# General Operators + +--- + +## Assign `:` + +## Shadow `::` + +## Cast `$` + +## ``print` + +```text +Result[I32] : Is[File; Void] `print Any +``` + +If no `File` is specified the output is send to `stdout` + +## ``format` + +```text +Result[String] : Const[String]`format Any +``` + +### Formatting + +#### Replace + +Use `%` to indicate an item from `Any`, use `\%` for a literal `%` + +#### Colors + +Use `#NAME#` to change the text color, use `#` to reset the text color, use `\#` for a literal `#` + +```text +BOLD +FAINT +ITALIC +UNDERLINE - UL + +BACKGROUND - BG +LIGHT + +BLACK +RED +GREEN +YELLOW +BLUE +MAGENTA +CYAN +GREY +WHITE +``` + +`#NAME#NAME#` use single `#` to apply multiple colors at once + +## ``panic` + +Stops execution and prints `Any` to `stdout` + +```text +`panic any +``` + +## ``type` + +## ``sync_type` + +## ``async_type` + +## ``copy` |
