summaryrefslogtreecommitdiff
path: root/docs/type_system/namespace.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-07-27 17:17:56 -0400
committernodist <kevin.comas.git@gmail.com>2026-07-27 17:17:56 -0400
commitbb912b081ed339e4a5419bd3d2ffd7465f2f72d3 (patch)
tree7f34b3af1a72672de1d12c8e23dda419c398dce3 /docs/type_system/namespace.md
parent003119b9f285e5610f56186bce845441409265ae (diff)
bottom up redesign
Diffstat (limited to 'docs/type_system/namespace.md')
-rw-r--r--docs/type_system/namespace.md57
1 files changed, 0 insertions, 57 deletions
diff --git a/docs/type_system/namespace.md b/docs/type_system/namespace.md
deleted file mode 100644
index d3a43db..0000000
--- a/docs/type_system/namespace.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# Namespace
-
----
-
-```text
-Namespace[[NATIVE | MODULE | MAIN] NAMESPACE_POINTER]
-```
-
-## Type Body Object Definitions
-
-```c
-typedef struct {
- union {
- kpl_namespace_native *native;
- kpl_namespace_module *module;
- } namespace;
-} kpl_type_body_namespace;
-```
-
-## Exports
-
-### \`export
-
-#### Type must be Fn[STATELESS], Overload, Const, Shared or Namespace to export
-
-#### Re-exporting
-
-## Imports
-
-### \`import
-
-```text
-namespace : `import Value[String]
-```
-
-All imports are relative to the importer
-
-### \`use
-
-```text
-namespace : `use Value[String]
-```
-
-## Namespace destructuring
-
-```text
-namespace : `use Value[String]
-namespace[scope_name.namespace_name]
-namespcae[name] // resolves to namespace[name.name]
-`use Value[String] [name]
-```
-
-## Main
-
-### \`is_main
-
-Run this function if the module is not imported