From 6bb1fc3b9592bbfd53770c1c04140af30ddd5120 Mon Sep 17 00:00:00 2001 From: nodist Date: Tue, 19 May 2026 12:38:35 -0400 Subject: put operators into its own file --- docs/syntax/cast.md | 3 --- docs/syntax/define.md | 9 --------- docs/syntax/operators.md | 19 +++++++++++++++++++ docs/syntax/print.md | 9 --------- docs/type_system/object.md | 6 ++++++ mkdocs.yml | 4 +--- 6 files changed, 26 insertions(+), 24 deletions(-) delete mode 100644 docs/syntax/cast.md delete mode 100644 docs/syntax/define.md create mode 100644 docs/syntax/operators.md delete mode 100644 docs/syntax/print.md diff --git a/docs/syntax/cast.md b/docs/syntax/cast.md deleted file mode 100644 index ab8741e..0000000 --- a/docs/syntax/cast.md +++ /dev/null @@ -1,3 +0,0 @@ -# Cast `$` - ---- diff --git a/docs/syntax/define.md b/docs/syntax/define.md deleted file mode 100644 index 358a394..0000000 --- a/docs/syntax/define.md +++ /dev/null @@ -1,9 +0,0 @@ -# Define - ---- - -For defining and updating variables - -## Assign `:` - -## Shadow `::` diff --git a/docs/syntax/operators.md b/docs/syntax/operators.md new file mode 100644 index 0000000..a8b8342 --- /dev/null +++ b/docs/syntax/operators.md @@ -0,0 +1,19 @@ +# Operators + +--- + +## Assign `:` + +## Shadow `::` + +## Cast `$` + +## Print ``print` + +```text +TO `print DATA +``` + +If `TO` is not specified the output is send to `STDOUT` + +## ``panic` diff --git a/docs/syntax/print.md b/docs/syntax/print.md deleted file mode 100644 index 99e63fd..0000000 --- a/docs/syntax/print.md +++ /dev/null @@ -1,9 +0,0 @@ -# Print ``print` - ---- - -```text -TO `print DATA -``` - -If `TO` is not specified the output is send to `STDOUT` diff --git a/docs/type_system/object.md b/docs/type_system/object.md index 2f880a6..ca6c805 100644 --- a/docs/type_system/object.md +++ b/docs/type_system/object.md @@ -7,3 +7,9 @@ A representation of a native object ```text Object[INTERFACE_TABLE_POINTER] ``` + +## Alias + +```text +File `alias Object[...] +``` diff --git a/mkdocs.yml b/mkdocs.yml index d595a1d..8ccc612 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -7,9 +7,7 @@ nav: - Main: 'index.md' - Syntax: - Code: 'syntax/index.md' - - Define: 'syntax/define.md' - - Cast: 'syntax/cast.md' - - Print: 'syntax/print.md' + - Operators: 'syntax/operators.md' - Type System: - Templates: 'type_system/index.md' - Alias: 'type_system/alias.md' -- cgit v1.2.3