summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-18 22:05:37 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-18 22:06:44 +0100
commit693aba77f3e31b0ddfe4d3e51f47fd3441c45f92 (patch)
tree60bfbc77082b20e32c4a16885d8421413500e206
parent25ba4e852d6ad15d91095e844bde858383c6b1e3 (diff)
[CHORE] Rework the Nectar Core Libraries as NCSL (Nectar Core Support Libraries).
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--include/CoreRuntimeKit/C++/abi/abi.hpp (renamed from include/CoreRuntimeKit/C++/__abi)3
-rw-r--r--include/CoreRuntimeKit/C++/abi/new.hpp (renamed from include/CoreRuntimeKit/C++/new)0
-rw-r--r--include/CoreRuntimeKit/C++/core/base_alloc.hpp (renamed from include/CoreRuntimeKit/C++/base_alloc)0
-rw-r--r--include/CoreRuntimeKit/C++/core/base_exception.hpp (renamed from include/CoreRuntimeKit/C++/base_exception)2
-rw-r--r--include/CoreRuntimeKit/C++/core/base_math.hpp (renamed from include/CoreRuntimeKit/C++/base_math)0
-rw-r--r--include/CoreRuntimeKit/C++/core/base_process.hpp (renamed from include/CoreRuntimeKit/C++/base_process)8
-rw-r--r--include/CoreRuntimeKit/C++/defines.hpp (renamed from include/CoreRuntimeKit/C++/defines)0
-rw-r--r--include/CoreRuntimeKit/C++/filesystem/filesystem.hpp (renamed from include/CoreRuntimeKit/C++/filesystem)0
-rw-r--r--include/CoreRuntimeKit/C++/utility.hpp (renamed from include/CoreRuntimeKit/C++/utility)0
-rw-r--r--include/CoreRuntimeKit/Nectar/exports.hpp (renamed from include/CoreRuntimeKit/Nectar/ncl_exports.h)0
-rw-r--r--include/CoreRuntimeKit/README.md8
11 files changed, 12 insertions, 9 deletions
diff --git a/include/CoreRuntimeKit/C++/__abi b/include/CoreRuntimeKit/C++/abi/abi.hpp
index 0252e0b..82ffd81 100644
--- a/include/CoreRuntimeKit/C++/__abi
+++ b/include/CoreRuntimeKit/C++/abi/abi.hpp
@@ -14,8 +14,7 @@ __init_decl()
inline void __compilerkit_unreachable(void) {
std::base_process::signal(__unreachable_code);
-
- while (1);
+ while (true);
}
__fini_decl()
diff --git a/include/CoreRuntimeKit/C++/new b/include/CoreRuntimeKit/C++/abi/new.hpp
index 71afa28..71afa28 100644
--- a/include/CoreRuntimeKit/C++/new
+++ b/include/CoreRuntimeKit/C++/abi/new.hpp
diff --git a/include/CoreRuntimeKit/C++/base_alloc b/include/CoreRuntimeKit/C++/core/base_alloc.hpp
index 9e10f92..9e10f92 100644
--- a/include/CoreRuntimeKit/C++/base_alloc
+++ b/include/CoreRuntimeKit/C++/core/base_alloc.hpp
diff --git a/include/CoreRuntimeKit/C++/base_exception b/include/CoreRuntimeKit/C++/core/base_exception.hpp
index db1de01..c103da5 100644
--- a/include/CoreRuntimeKit/C++/base_exception
+++ b/include/CoreRuntimeKit/C++/core/base_exception.hpp
@@ -5,7 +5,7 @@
#pragma once
-#include <__abi>
+#include <abi>
#include <base_process>
#include <defines>
#include <iostream>
diff --git a/include/CoreRuntimeKit/C++/base_math b/include/CoreRuntimeKit/C++/core/base_math.hpp
index 6691c27..6691c27 100644
--- a/include/CoreRuntimeKit/C++/base_math
+++ b/include/CoreRuntimeKit/C++/core/base_math.hpp
diff --git a/include/CoreRuntimeKit/C++/base_process b/include/CoreRuntimeKit/C++/core/base_process.hpp
index 45de8fd..84354a9 100644
--- a/include/CoreRuntimeKit/C++/base_process
+++ b/include/CoreRuntimeKit/C++/core/base_process.hpp
@@ -9,10 +9,10 @@
__init_decl()
- /// @brief CRT exit, with exit code (!!! exits all threads. !!!)
- /// @param code the exit code.
- /// @return the return > 0 for non successful.
- extern int exit_(int code);
+/// @brief CRT exit, with exit code (!!! exits all threads. !!!)
+/// @param code the exit code.
+/// @return the return > 0 for non successful.
+extern int exit_(int code);
/// @brief CRT signal handler.
/// @param code the signal code.
diff --git a/include/CoreRuntimeKit/C++/defines b/include/CoreRuntimeKit/C++/defines.hpp
index 3cd1ee1..3cd1ee1 100644
--- a/include/CoreRuntimeKit/C++/defines
+++ b/include/CoreRuntimeKit/C++/defines.hpp
diff --git a/include/CoreRuntimeKit/C++/filesystem b/include/CoreRuntimeKit/C++/filesystem/filesystem.hpp
index 917dd0f..917dd0f 100644
--- a/include/CoreRuntimeKit/C++/filesystem
+++ b/include/CoreRuntimeKit/C++/filesystem/filesystem.hpp
diff --git a/include/CoreRuntimeKit/C++/utility b/include/CoreRuntimeKit/C++/utility.hpp
index a427c44..a427c44 100644
--- a/include/CoreRuntimeKit/C++/utility
+++ b/include/CoreRuntimeKit/C++/utility.hpp
diff --git a/include/CoreRuntimeKit/Nectar/ncl_exports.h b/include/CoreRuntimeKit/Nectar/exports.hpp
index 115484f..115484f 100644
--- a/include/CoreRuntimeKit/Nectar/ncl_exports.h
+++ b/include/CoreRuntimeKit/Nectar/exports.hpp
diff --git a/include/CoreRuntimeKit/README.md b/include/CoreRuntimeKit/README.md
index 356eaf5..84d50bb 100644
--- a/include/CoreRuntimeKit/README.md
+++ b/include/CoreRuntimeKit/README.md
@@ -1,8 +1,12 @@
-# The NectarCoreLibrary
+# The Nectar Core Support Libraries:
## Abstract:
-The NCL is a kit used to interact with other programs using the FFI of Nectar.
+The NCSL is a framework used to interact with other programs using the concept of FFI in Nectar.
The implmentation is still in progress, feel free to open a PR to propose a new function.
+## Example:
+
+**No examples are available right now, we're working on some.**
+