From 3a9cf2508dc7341a6d8ff4b8174064600d704994 Mon Sep 17 00:00:00 2001 From: nodist Date: Sun, 21 Jun 2026 11:51:41 -0400 Subject: update memory objs --- docs/type_system/function.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'docs/type_system/function.md') diff --git a/docs/type_system/function.md b/docs/type_system/function.md index 57b0abf..baf7337 100644 --- a/docs/type_system/function.md +++ b/docs/type_system/function.md @@ -5,9 +5,11 @@ ```text INVOCATION : UNKNOWN | SYNC | ASYNC -CLASS : INCOMPLETE | NATIVE | TASK | PROCESS | GENERATOR | ITERATOR | CLOSURE | BOUND | REGEX +STATELESS : INCOMPLETE | NATIVE | NATIVE_INLINE | PROCESS | GENERATOR | REGEX_GENERATOR -FLAGS : INVOCATION | CLASS +STATEFUL : TASK | ITERATOR | CLOSURE | BOUND | REGEX + +FLAGS : INVOCATION | STATELESS | STATEFUL Function[[FLAGS]; STATE; List; RETURN_TYPE; Collection[TYPE.SYMBOL]] ``` @@ -37,7 +39,11 @@ A function with an incomplete type, type checking occurs at invocation ## Native -Native function wrapper +Native C code that can be called async + +## Native Inline + +Native C code that cannot be called async ## Task @@ -51,6 +57,10 @@ A list of tasks with state A function for creating an iterator +## Regex Generator + +A function for creating Regular Expression matcher + ## Iterator A task creator with state, cannot take arguments, can be called until done @@ -65,7 +75,7 @@ A function with some arguments already set ## Regex -Regular Expression +Invoked regular expression matcher # Returning -- cgit v1.2.3