summaryrefslogtreecommitdiffhomepage
path: root/src/CompilerKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-27 08:56:24 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-27 08:56:24 +0100
commita936410849e4df5598d9edb11132153a4f7e64f6 (patch)
tree5654054528b3d00d97ad1933b8220dab749658e0 /src/CompilerKit
parentd532b43153cb68d6e92c5dac58cbd3c8ab4f60af (diff)
cl! giant source code refactor.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/CompilerKit')
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+32x0.cc10
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+64x0.cc10
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+AMD64.cc10
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+ARM64.cc10
-rw-r--r--src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc10
-rw-r--r--src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc9
-rw-r--r--src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc12
-rw-r--r--src/CompilerKit/src/Linkers/DynamicLinker64+PEF.cc13
-rw-r--r--src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc13
9 files changed, 36 insertions, 61 deletions
diff --git a/src/CompilerKit/src/Assemblers/Assembler+32x0.cc b/src/CompilerKit/src/Assemblers/Assembler+32x0.cc
index 793bfb3..787c685 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+32x0.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+32x0.cc
@@ -1,8 +1,7 @@
-/* ========================================
-
- Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
-
-======================================== */
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
/// bugs: 0
@@ -37,4 +36,3 @@ NECTAR_MODULE(NEAssemblerMain32000) {
CompilerKit::install_signal(SIGSEGV, CompilerKit::Detail::drvi_crash_handler);
return EXIT_SUCCESS;
}
-
diff --git a/src/CompilerKit/src/Assemblers/Assembler+64x0.cc b/src/CompilerKit/src/Assemblers/Assembler+64x0.cc
index 4c1f855..5067c23 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+64x0.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+64x0.cc
@@ -1,8 +1,7 @@
-/* ========================================
-
- Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
-
-======================================== */
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
/// bugs: 0
@@ -879,4 +878,3 @@ bool CompilerKit::Encoder64x0::WriteLine(std::string line, std::string file) {
}
// Last rev 13-1-24
-
diff --git a/src/CompilerKit/src/Assemblers/Assembler+AMD64.cc b/src/CompilerKit/src/Assemblers/Assembler+AMD64.cc
index 4035fd0..85033dc 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+AMD64.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+AMD64.cc
@@ -1,8 +1,7 @@
-/* ========================================
-
- Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
-
-======================================== */
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
/////////////////////////////////////////////////////////////////////////////////////////
@@ -1210,4 +1209,3 @@ bool CompilerKit::EncoderAMD64::WriteLine(std::string line, std::string file) {
}
// Last rev 13-1-24
-
diff --git a/src/CompilerKit/src/Assemblers/Assembler+ARM64.cc b/src/CompilerKit/src/Assemblers/Assembler+ARM64.cc
index 74e5785..fa1d3b5 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+ARM64.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+ARM64.cc
@@ -1,8 +1,7 @@
-/* ========================================
-
- Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
-
-======================================== */
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
/////////////////////////////////////////////////////////////////////////////////////////
@@ -588,4 +587,3 @@ bool CompilerKit::EncoderARM64::WriteLine(std::string line, std::string file) {
}
// Last rev 13-1-24
-
diff --git a/src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc b/src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc
index e5d59a9..830fba1 100644
--- a/src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc
+++ b/src/CompilerKit/src/Assemblers/Assembler+PowerPC.cc
@@ -1,8 +1,7 @@
-/* ========================================
-
- Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
-
-======================================== */
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
/////////////////////////////////////////////////////////////////////////////////////////
@@ -913,4 +912,3 @@ bool CompilerKit::EncoderPowerPC::WriteLine(std::string line, std::string file)
}
// Last rev 13-1-24
-
diff --git a/src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc b/src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc
index bef8746..2e95bd0 100644
--- a/src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc
+++ b/src/CompilerKit/src/CodeGenerator+AssemblyFactory.cc
@@ -1,8 +1,7 @@
-/* ========================================
-
- Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
-
-======================================== */
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
#include <CompilerKit/CodeGenerator.h>
diff --git a/src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc b/src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc
index 3314984..4008a50 100644
--- a/src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc
+++ b/src/CompilerKit/src/Compilers/CPlusPlusCompiler+AMD64.cc
@@ -1,11 +1,7 @@
-/*
- * ========================================================
- *
- * C++ Compiler Driver
- * Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
- *
- * ========================================================
- */
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
/// BUGS: 0
diff --git a/src/CompilerKit/src/Linkers/DynamicLinker64+PEF.cc b/src/CompilerKit/src/Linkers/DynamicLinker64+PEF.cc
index 0c785fd..454ff8a 100644
--- a/src/CompilerKit/src/Linkers/DynamicLinker64+PEF.cc
+++ b/src/CompilerKit/src/Linkers/DynamicLinker64+PEF.cc
@@ -1,11 +1,7 @@
-/* ========================================
-
- Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license
-
- @file DynamicLinker64+PEF.cc
- @brief: C++ 64-Bit PEF Linker for NeKernel.org's NeKernel
-
-======================================== */
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
/// @author Amlal El Mahrouss (amlal@nekernel.org)
/// @brief NeKernel.org 64-bit PEF Linker.
@@ -676,4 +672,3 @@ NECTAR_MODULE(DynamicLinker64PEF) {
}
// Last rev 13-1-24
-
diff --git a/src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc b/src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc
index d7ada66..412d70b 100644
--- a/src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc
+++ b/src/CompilerKit/src/Preprocessor/Preprocessor+Generic.cc
@@ -1,11 +1,7 @@
-/*
- * ========================================================
- *
- * C++ Preprocessor Driver
- * Copyright (C) 2024-2025 Amlal El Mahrouss, licensed under the Apache 2.0 license.
- *
- * ========================================================
- */
+// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
+// Licensed under the Apache License, Version 2.0 (See accompanying
+// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
+// Official repository: https://github.com/nekernel-org/nectar
/// BUGS: 0
@@ -891,4 +887,3 @@ NECTAR_MODULE(CPlusPlusPreprocessorMain) {
}
// Last rev 8-1-24
-