summaryrefslogtreecommitdiffhomepage
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-18 05:54:59 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-18 05:54:59 +0100
commitdd3cc6b2e26043ff5b58223bea79d46ec43d3f93 (patch)
tree4fd884b9a54defebe9b4757d8d75fe4eecfe38d9 /CLAUDE.md
parent575ea53014e918ad3fe0145ef3969fa269d10e95 (diff)
chore: update CLAUDE.md instructions.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 65404fd..cdcbd4e 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -241,6 +241,7 @@ Example JSON configuration:
## Project-Specific Context
### Output Formats
+
- **PEF (Preferred Executable Format):** Custom executable format for NeKernel
- Extensions: `.exec` (executable), `.dylib` (shared), `.sys` (driver)
- Sections: `.code64`, `.data64`, `.zero64` (and 128-bit variants)
@@ -264,6 +265,21 @@ Example JSON configuration:
- Implementation: `/src/CompilerKit/src/Linkers/DynamicLinker64+PEF.cc`
- Format specs: `/include/CompilerKit/PEF.h` and `/include/CompilerKit/AE.h`
+### Tooling Conventions
+
+**Options Flags**:
+- Shall start with `-f`.
+
+**Warnings Flags**:
+- Shall start with `-W`.
+
+**Drivers Flag**:
+- Shall start with `--<drv-name>-`. e.g `--nec-dialect`.
+
+## Command-Line Tools
+
+They are not meant to be used directly. One should use or write its own frontend for that regard. Similar to how mainstream C++ compilers do.
+
## Dependencies
- Clang (C++20 support)