From b26ad08b39b8229dcea0bafc4a8ba4b0d7ad7154 Mon Sep 17 00:00:00 2001 From: nodist Date: Tue, 2 Jun 2026 16:26:09 -0400 Subject: reformat with sync and async calls --- docs/language/operators.md | 71 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 docs/language/operators.md (limited to 'docs/language/operators.md') 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` -- cgit v1.2.3