From 7da66825a3260f3d6e22b5adbd775fef3bc57627 Mon Sep 17 00:00:00 2001 From: nodist Date: Mon, 18 May 2026 16:59:28 -0400 Subject: add print --- docs/syntax/print.md | 9 +++++++++ docs/type_system/map.md | 2 +- docs/type_system/object.md | 3 ++- docs/type_system/value.md | 4 ++++ 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 docs/syntax/print.md (limited to 'docs') diff --git a/docs/syntax/print.md b/docs/syntax/print.md new file mode 100644 index 0000000..99e63fd --- /dev/null +++ b/docs/syntax/print.md @@ -0,0 +1,9 @@ +# Print ``print` + +--- + +```text +TO `print DATA +``` + +If `TO` is not specified the output is send to `STDOUT` diff --git a/docs/type_system/map.md b/docs/type_system/map.md index e8c220e..9d62b13 100644 --- a/docs/type_system/map.md +++ b/docs/type_system/map.md @@ -9,5 +9,5 @@ Map[KEY_TYPE; VALUE_TYPE] ## Alias ```text -Set[Any] `alias Map[Void; Any] +Set[Any] `alias Map[Any; Void] ``` diff --git a/docs/type_system/object.md b/docs/type_system/object.md index 6a4ec75..2f880a6 100644 --- a/docs/type_system/object.md +++ b/docs/type_system/object.md @@ -5,4 +5,5 @@ A representation of a native object ```text -Object[IDENTIFIER; INTERFACE_TABLE] +Object[INTERFACE_TABLE_POINTER] +``` diff --git a/docs/type_system/value.md b/docs/type_system/value.md index be36f81..53807ba 100644 --- a/docs/type_system/value.md +++ b/docs/type_system/value.md @@ -1,3 +1,7 @@ # Value --- + +```text +Value[TYPE; DATA] +``` -- cgit v1.2.3