summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-12 02:34:07 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-12 02:37:30 +0100
commitfacb3edec9fd275d5a8fcabaa87f768087255768 (patch)
tree587c1fdd1e4b09a3c0f5243af46f7d09ac3722fd /src
parent37b8e34dc54f572fbfbd135742fa11c21c5e67c1 (diff)
chore! breaking API changes, rename project to Nectar, instead of NeCTI.v0.0.9
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src')
-rw-r--r--src/CommandLine/asm.cc (renamed from src/Tools/asm.cc)2
-rw-r--r--src/CommandLine/asm.json (renamed from src/Tools/asm.json)0
-rw-r--r--src/CommandLine/cppdrv.cc (renamed from src/Tools/cppdrv.cc)4
-rw-r--r--src/CommandLine/cppdrv.json (renamed from src/Tools/cppdrv.json)0
-rw-r--r--src/CommandLine/dbg.cc (renamed from src/Tools/dbg.cc)4
-rw-r--r--src/CommandLine/dbg.json (renamed from src/Tools/dbg.json)0
-rw-r--r--src/CommandLine/kdbg.cc (renamed from src/Tools/kdbg.cc)2
-rw-r--r--src/CommandLine/kdbg.json (renamed from src/Tools/kdbg.json)0
-rw-r--r--src/CommandLine/ld64.cc (renamed from src/Tools/ld64.cc)4
-rw-r--r--src/CommandLine/ld64.json (renamed from src/Tools/ld64.json)0
-rw-r--r--src/CommandLine/pef-amd64-cxxdrv.cc (renamed from src/Tools/pef-amd64-cxxdrv.cc)4
-rw-r--r--src/CommandLine/pef-amd64-cxxdrv.json (renamed from src/Tools/pef-amd64-cxxdrv.json)0
-rw-r--r--src/CommandLine/pef-arm64-cdrv.cc (renamed from src/Tools/pef-arm64-cdrv.cc)4
-rw-r--r--src/CommandLine/pef-arm64-cdrv.json (renamed from src/Tools/pef-arm64-cdrv.json)0
-rw-r--r--src/CompilerKit/ck-osx-san.json2
-rw-r--r--src/CompilerKit/ck-osx.json2
-rw-r--r--src/CompilerKit/ck-posix.json2
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+32x0.cc2
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+64x0.cc2
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+AMD64.cc2
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+ARM64.cc2
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc2
-rw-r--r--src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc4
-rw-r--r--src/CompilerKit/src/Compilers/CCompiler+64x0.cc4
-rw-r--r--src/CompilerKit/src/Compilers/CCompiler+ARM64.cc4
-rw-r--r--src/CompilerKit/src/Compilers/CCompiler+Power64.cc4
-rw-r--r--src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc20
-rw-r--r--src/CompilerKit/src/DynamicLinkers/DynamicLinker64+PEF.cc8
-rw-r--r--src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc4
-rw-r--r--src/DebuggerKit/dk-nekernel.json2
-rw-r--r--src/DebuggerKit/dk-osx.json2
-rw-r--r--src/DebuggerKit/src/NeKernelContract.cc2
-rw-r--r--src/DebuggerKit/src/NeKernelContractCLI.cc4
-rw-r--r--src/DebuggerKit/src/POSIXMachContractCLI.cc4
34 files changed, 51 insertions, 51 deletions
diff --git a/src/Tools/asm.cc b/src/CommandLine/asm.cc
index 90b104c..3773ff3 100644
--- a/src/Tools/asm.cc
+++ b/src/CommandLine/asm.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
diff --git a/src/Tools/asm.json b/src/CommandLine/asm.json
index bfb8ac7..bfb8ac7 100644
--- a/src/Tools/asm.json
+++ b/src/CommandLine/asm.json
diff --git a/src/Tools/cppdrv.cc b/src/CommandLine/cppdrv.cc
index 95d4c3a..92bc5ae 100644
--- a/src/Tools/cppdrv.cc
+++ b/src/CommandLine/cppdrv.cc
@@ -1,11 +1,11 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
/// @file cppdrv.cc
-/// @brief NeCTI frontend preprocessor.
+/// @brief Nectar frontend preprocessor.
#include <CompilerKit/Detail/Config.h>
#include <CompilerKit/ErrorID.h>
diff --git a/src/Tools/cppdrv.json b/src/CommandLine/cppdrv.json
index 9eb5e54..9eb5e54 100644
--- a/src/Tools/cppdrv.json
+++ b/src/CommandLine/cppdrv.json
diff --git a/src/Tools/dbg.cc b/src/CommandLine/dbg.cc
index b8c4932..290b183 100644
--- a/src/Tools/dbg.cc
+++ b/src/CommandLine/dbg.cc
@@ -1,13 +1,13 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
#include <CompilerKit/Detail/Config.h>
/// @file dbg.cc
-/// @brief NeCTI debugger.
+/// @brief Nectar debugger.
CK_IMPORT_C Int32 DebuggerMachPOSIX(Int32 argc, Char const* argv[]);
diff --git a/src/Tools/dbg.json b/src/CommandLine/dbg.json
index 8e786a7..8e786a7 100644
--- a/src/Tools/dbg.json
+++ b/src/CommandLine/dbg.json
diff --git a/src/Tools/kdbg.cc b/src/CommandLine/kdbg.cc
index ca82002..3a6eaa3 100644
--- a/src/Tools/kdbg.cc
+++ b/src/CommandLine/kdbg.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
diff --git a/src/Tools/kdbg.json b/src/CommandLine/kdbg.json
index f661fc5..f661fc5 100644
--- a/src/Tools/kdbg.json
+++ b/src/CommandLine/kdbg.json
diff --git a/src/Tools/ld64.cc b/src/CommandLine/ld64.cc
index a2ce544..618bd32 100644
--- a/src/Tools/ld64.cc
+++ b/src/CommandLine/ld64.cc
@@ -1,13 +1,13 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
#include <CompilerKit/Detail/Config.h>
/// @file ld64.cc
-/// @brief NeCTI linker for AE objects.
+/// @brief Nectar linker for AE objects.
CK_IMPORT_C Int32 DynamicLinker64PEF(Int32 argc, Char const* argv[]);
diff --git a/src/Tools/ld64.json b/src/CommandLine/ld64.json
index 2045550..2045550 100644
--- a/src/Tools/ld64.json
+++ b/src/CommandLine/ld64.json
diff --git a/src/Tools/pef-amd64-cxxdrv.cc b/src/CommandLine/pef-amd64-cxxdrv.cc
index 7abda83..1bd7c3c 100644
--- a/src/Tools/pef-amd64-cxxdrv.cc
+++ b/src/CommandLine/pef-amd64-cxxdrv.cc
@@ -1,11 +1,11 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
/// @file pef-amd64-cxxdrv.cc
-/// @brief NeCTI C++ frontend compiler for AMD64.
+/// @brief Nectar C++ frontend compiler for AMD64.
#include <CompilerKit/Detail/Config.h>
#include <CompilerKit/ErrorID.h>
diff --git a/src/Tools/pef-amd64-cxxdrv.json b/src/CommandLine/pef-amd64-cxxdrv.json
index 62b5b4d..62b5b4d 100644
--- a/src/Tools/pef-amd64-cxxdrv.json
+++ b/src/CommandLine/pef-amd64-cxxdrv.json
diff --git a/src/Tools/pef-arm64-cdrv.cc b/src/CommandLine/pef-arm64-cdrv.cc
index 3fba1ef..f4be5d0 100644
--- a/src/Tools/pef-arm64-cdrv.cc
+++ b/src/CommandLine/pef-arm64-cdrv.cc
@@ -1,11 +1,11 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
/// @file pef-arm-cdrv.cc
-/// @brief NeCTI ARm64 C frontend compiler.
+/// @brief Nectar ARm64 C frontend compiler.
#include <CompilerKit/Detail/Config.h>
#include <CompilerKit/ErrorID.h>
diff --git a/src/Tools/pef-arm64-cdrv.json b/src/CommandLine/pef-arm64-cdrv.json
index be6a1be..be6a1be 100644
--- a/src/Tools/pef-arm64-cdrv.json
+++ b/src/CommandLine/pef-arm64-cdrv.json
diff --git a/src/CompilerKit/ck-osx-san.json b/src/CompilerKit/ck-osx-san.json
index 193b3a2..137596f 100644
--- a/src/CompilerKit/ck-osx-san.json
+++ b/src/CompilerKit/ck-osx-san.json
@@ -23,7 +23,7 @@
"-fsanitize=undefined"
],
"cpp_macros": [
- "__NECTI__=202505",
+ "__NECTAR__=202505",
"CK_USE_STRUCTS=1",
"kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
]
diff --git a/src/CompilerKit/ck-osx.json b/src/CompilerKit/ck-osx.json
index 1109f75..392140a 100644
--- a/src/CompilerKit/ck-osx.json
+++ b/src/CompilerKit/ck-osx.json
@@ -18,7 +18,7 @@
"-shared"
],
"cpp_macros": [
- "__NECTI__=202505",
+ "__NECTAR__=202505",
"CK_USE_STRUCTS=1",
"kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
]
diff --git a/src/CompilerKit/ck-posix.json b/src/CompilerKit/ck-posix.json
index 3f6127c..6380ae2 100644
--- a/src/CompilerKit/ck-posix.json
+++ b/src/CompilerKit/ck-posix.json
@@ -17,7 +17,7 @@
"-shared"
],
"cpp_macros": [
- "__NECTI__=202505",
+ "__NECTAR__=202505",
"CK_USE_STRUCTS=1",
"kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
]
diff --git a/src/CompilerKit/src/Assemblers/Assembler+32x0.cc b/src/CompilerKit/src/Assemblers/Assembler+32x0.cc
index 1b8d9f6..dbf2898 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+32x0.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+32x0.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
diff --git a/src/CompilerKit/src/Assemblers/Assembler+64x0.cc b/src/CompilerKit/src/Assemblers/Assembler+64x0.cc
index 757f5b4..1ddb5d2 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+64x0.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+64x0.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
diff --git a/src/CompilerKit/src/Assemblers/Assembler+AMD64.cc b/src/CompilerKit/src/Assemblers/Assembler+AMD64.cc
index 7146a53..6d1ca0e 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+AMD64.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+AMD64.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
diff --git a/src/CompilerKit/src/Assemblers/Assembler+ARM64.cc b/src/CompilerKit/src/Assemblers/Assembler+ARM64.cc
index 5113704..3df2b03 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+ARM64.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+ARM64.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
diff --git a/src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc b/src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc
index bad9535..d595731 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
diff --git a/src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc b/src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc
index b5da2a8..c132638 100644
--- a/src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc
+++ b/src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
======================================== */
@@ -9,7 +9,7 @@
/**
* @file AssemblyFactory.cc
* @author Amlal El Mahrouss (amlal@nekernel.org)
- * @brief Assembly API of NeCTI
+ * @brief Assembly API of Nectar
* @version 0.0.3
* @copyright Copyright (c) 2024-2025 Amlal El Mahrouss
*
diff --git a/src/CompilerKit/src/Compilers/CCompiler+64x0.cc b/src/CompilerKit/src/Compilers/CCompiler+64x0.cc
index f18b22b..42d654b 100644
--- a/src/CompilerKit/src/Compilers/CCompiler+64x0.cc
+++ b/src/CompilerKit/src/Compilers/CCompiler+64x0.cc
@@ -2,7 +2,7 @@
* ========================================================
*
* cc
- * Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
+ * Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
*
* ========================================================
*/
@@ -321,7 +321,7 @@ CompilerKit::SyntaxLeafList::SyntaxLeaf CompilerFrontend64x0::Compile(std::strin
if (expr.find(")") != std::string::npos) expr.erase(expr.find(")"));
- kIfFunction = "__NECTI_IF_PROC_";
+ kIfFunction = "__NECTAR_IF_PROC_";
kIfFunction += std::to_string(time_off._Raw);
syntaxLeaf.fUserValue = "\tlda r12, extern_segment ";
diff --git a/src/CompilerKit/src/Compilers/CCompiler+ARM64.cc b/src/CompilerKit/src/Compilers/CCompiler+ARM64.cc
index e0f08e2..688835e 100644
--- a/src/CompilerKit/src/Compilers/CCompiler+ARM64.cc
+++ b/src/CompilerKit/src/Compilers/CCompiler+ARM64.cc
@@ -2,7 +2,7 @@
* ========================================================
*
* CCompilerARM64
- * Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
+ * Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
*
* ========================================================
*/
@@ -320,7 +320,7 @@ CompilerKit::SyntaxLeafList::SyntaxLeaf CompilerFrontendARM64::Compile(std::stri
if (expr.find(")") != std::string::npos) expr.erase(expr.find(")"));
- kIfFunction = "__NECTI_IF_PROC_";
+ kIfFunction = "__NECTAR_IF_PROC_";
kIfFunction += std::to_string(time_off._Raw);
syntaxLeaf.fUserValue = "\tlda r12, extern_segment ";
diff --git a/src/CompilerKit/src/Compilers/CCompiler+Power64.cc b/src/CompilerKit/src/Compilers/CCompiler+Power64.cc
index 724e7cc..3867be6 100644
--- a/src/CompilerKit/src/Compilers/CCompiler+Power64.cc
+++ b/src/CompilerKit/src/Compilers/CCompiler+Power64.cc
@@ -2,7 +2,7 @@
* ========================================================
*
* CompilerPower64
- * Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
+ * Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
*
* ========================================================
*/
@@ -321,7 +321,7 @@ CompilerKit::SyntaxLeafList::SyntaxLeaf CompilerFrontendPower64::Compile(std::st
if (expr.find(")") != std::string::npos) expr.erase(expr.find(")"));
- kIfFunction = "__NECTI_IF_PROC_";
+ kIfFunction = "__NECTAR_IF_PROC_";
kIfFunction += std::to_string(time_off._Raw);
syntax_leaf.fUserValue =
diff --git a/src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc b/src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc
index 70de909..54fbc25 100644
--- a/src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc
+++ b/src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc
@@ -2,7 +2,7 @@
* ========================================================
*
* C++ Compiler Driver
- * Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
+ * Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
*
* ========================================================
*/
@@ -345,10 +345,10 @@ CompilerKit::SyntaxLeafList::SyntaxLeaf CompilerFrontendCPlusPlusAMD64::Compile(
symbol_name_fn.erase(symbol_name_fn.find("("));
}
- syntax_tree.fUserValue = "public_segment .code64 __NECTI_" + symbol_name_fn + "\n";
+ syntax_tree.fUserValue = "public_segment .code64 __NECTAR_" + symbol_name_fn + "\n";
++kFunctionEmbedLevel;
- kOriginMap.push_back({"__NECTI_" + symbol_name_fn, kOrigin});
+ kOriginMap.push_back({"__NECTAR_" + symbol_name_fn, kOrigin});
break;
@@ -474,10 +474,10 @@ CompilerKit::SyntaxLeafList::SyntaxLeaf CompilerFrontendCPlusPlusAMD64::Compile(
if (pairRight != valueOfVar) {
if (valueOfVar[0] == '\"') {
- syntax_tree.fUserValue = "segment .data64 __NECTI_LOCAL_VAR_" + varName + ": db " +
+ syntax_tree.fUserValue = "segment .data64 __NECTAR_LOCAL_VAR_" + varName + ": db " +
valueOfVar + ", 0\n\n";
syntax_tree.fUserValue += instr + kRegisterList[kRegisterMap.size() - 1] + ", " +
- "__NECTI_LOCAL_VAR_" + varName + "\n";
+ "__NECTAR_LOCAL_VAR_" + varName + "\n";
kOrigin += 1UL;
} else {
syntax_tree.fUserValue =
@@ -492,16 +492,16 @@ CompilerKit::SyntaxLeafList::SyntaxLeaf CompilerFrontendCPlusPlusAMD64::Compile(
if (((int) indexRight - 1) < 0) {
if (valueOfVar[0] == '\"') {
syntax_tree.fUserValue =
- "segment .data64 __NECTI_LOCAL_VAR_" + varName + ": db " + valueOfVar + ", 0\n";
+ "segment .data64 __NECTAR_LOCAL_VAR_" + varName + ": db " + valueOfVar + ", 0\n";
syntax_tree.fUserValue += instr + kRegisterList[kRegisterMap.size()] + ", " +
- "__NECTI_LOCAL_VAR_" + varName + "\n";
+ "__NECTAR_LOCAL_VAR_" + varName + "\n";
kOrigin += 1UL;
} else {
auto mangled = valueOfVar;
if (mangled.find("(") != std::string::npos) {
auto ret = mangled.erase(mangled.find("("));
- mangled = "__NECTI_";
+ mangled = "__NECTAR_";
mangled += ret;
syntax_tree.fUserValue = "jmp " + mangled + "\n";
@@ -660,8 +660,8 @@ CompilerKit::SyntaxLeafList::SyntaxLeaf CompilerFrontendCPlusPlusAMD64::Compile(
break;
}
} else {
- syntax_tree.fUserValue = "__NECTI_LOCAL_RETURN_STRING: db " + subText +
- ", 0\nmov rcx, __NECTI_LOCAL_RETURN_STRING\n";
+ syntax_tree.fUserValue = "__NECTAR_LOCAL_RETURN_STRING: db " + subText +
+ ", 0\nmov rcx, __NECTAR_LOCAL_RETURN_STRING\n";
syntax_tree.fUserValue += "mov rax, rcx\nret\n";
kOrigin += 1UL;
diff --git a/src/CompilerKit/src/DynamicLinkers/DynamicLinker64+PEF.cc b/src/CompilerKit/src/DynamicLinkers/DynamicLinker64+PEF.cc
index 0361873..f3eaaa9 100644
--- a/src/CompilerKit/src/DynamicLinkers/DynamicLinker64+PEF.cc
+++ b/src/CompilerKit/src/DynamicLinkers/DynamicLinker64+PEF.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license
+ Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
@file DynamicLinker64PEF.cc
@brief: C++ 64-Bit PEF Linker for NeKernel.org's NeKernel
@@ -22,7 +22,7 @@
#include <CompilerKit/Utilities/Compiler.h>
#include <filesystem>
-#define kLinkerVersionStr "NeCTI 64-Bit Linker (Preferred Executable Format)"
+#define kLinkerVersionStr "Nectar 64-Bit Linker (Preferred Executable Format)"
#define kPefNoCpu (0U)
#define kPefNoSubCpu (0U)
@@ -68,8 +68,8 @@ static CompilerKit::STLString kLinkerStart = kPefStart;
static std::vector<CompilerKit::STLString> kObjectList;
static std::vector<CompilerKit::Detail::Blob> kObjectBytes;
-/// @brief NeCTI 64-bit Linker.
-/// @note This linker is made for PEF executable, thus NeCTI based OSes.
+/// @brief Nectar 64-bit Linker.
+/// @note This linker is made for PEF executable, thus Nectar based OSes.
NECTI_MODULE(DynamicLinker64PEF) {
bool is_executable = true;
diff --git a/src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc b/src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc
index 4e34ab3..97bf44f 100644
--- a/src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc
+++ b/src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc
@@ -2,7 +2,7 @@
* ========================================================
*
* C++ Preprocessor Driver
- * Copyright (C) 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
+ * Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
*
* ========================================================
*/
@@ -760,7 +760,7 @@ NECTI_MODULE(CPlusPlusPreprocessorMain) {
Detail::bpp_macro macro_zka;
- macro_zka.fName = "__NECTI__";
+ macro_zka.fName = "__NECTAR__";
macro_zka.fValue = "1";
kMacros.push_back(macro_zka);
diff --git a/src/DebuggerKit/dk-nekernel.json b/src/DebuggerKit/dk-nekernel.json
index ad2deb8..4483a30 100644
--- a/src/DebuggerKit/dk-nekernel.json
+++ b/src/DebuggerKit/dk-nekernel.json
@@ -9,7 +9,7 @@
"output_name": "/usr/local/lib/libDebuggerKit.dylib",
"compiler_flags": ["-fPIC", "-shared"],
"cpp_macros": [
- "__NECTI__=202505",
+ "__NECTAR__=202505",
"DK_USE_STRUCTS=1",
"DK_NEKERNEL_DEBUGGER",
"kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
diff --git a/src/DebuggerKit/dk-osx.json b/src/DebuggerKit/dk-osx.json
index 20813aa..677e473 100644
--- a/src/DebuggerKit/dk-osx.json
+++ b/src/DebuggerKit/dk-osx.json
@@ -9,7 +9,7 @@
"output_name": "/usr/local/lib/libDebuggerKit.dylib",
"compiler_flags": ["-fPIC", "-shared"],
"cpp_macros": [
- "__NECTI__=202505",
+ "__NECTAR__=202505",
"CK_USE_STRUCTS=1",
"DEBUGGERKIT_POSIX",
"DK_MACH_DEBUGGER",
diff --git a/src/DebuggerKit/src/NeKernelContract.cc b/src/DebuggerKit/src/NeKernelContract.cc
index 58d1295..b4b3b9d 100644
--- a/src/DebuggerKit/src/NeKernelContract.cc
+++ b/src/DebuggerKit/src/NeKernelContract.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
+ Copyright (C) 2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
======================================== */
diff --git a/src/DebuggerKit/src/NeKernelContractCLI.cc b/src/DebuggerKit/src/NeKernelContractCLI.cc
index 3079568..3f05bed 100644
--- a/src/DebuggerKit/src/NeKernelContractCLI.cc
+++ b/src/DebuggerKit/src/NeKernelContractCLI.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
+ Copyright (C) 2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
======================================== */
@@ -29,7 +29,7 @@ static void dbgi_ctrlc_handler(std::int32_t _) {
NECTI_MODULE(DebuggerNeKernel) {
pfd::notify("Debugger Event",
- "NeCTI Debugger\n(C) 2025 Amlal El Mahrouss and NeKernel.org contributors, all "
+ "Nectar Debugger\n(C) 2025 Amlal El Mahrouss and NeKernel.org contributors, all "
"rights reserved.");
if (argc >= 5 && std::string(argv[1]) == "-k" && argv[2] != nullptr &&
diff --git a/src/DebuggerKit/src/POSIXMachContractCLI.cc b/src/DebuggerKit/src/POSIXMachContractCLI.cc
index 9093ec2..041a243 100644
--- a/src/DebuggerKit/src/POSIXMachContractCLI.cc
+++ b/src/DebuggerKit/src/POSIXMachContractCLI.cc
@@ -1,6 +1,6 @@
/* ========================================
- Copyright (C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.
+ Copyright (C) 2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
======================================== */
@@ -30,7 +30,7 @@ static void dbgi_ctrlc_handler(std::int32_t _) {
NECTI_MODULE(DebuggerMachPOSIX) {
pfd::notify(
"Debugger Event",
- "Userland Debugger\n(C) 2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.");
+ "Userland Debugger\n(C) 2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.");
if (argc >= 3 && std::string(argv[1]) == "-p" && argv[2] != nullptr) {
kPath = argv[2];