summaryrefslogtreecommitdiff
path: root/docs/language/operators.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/language/operators.md')
-rw-r--r--docs/language/operators.md71
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`