summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-12 12:10:32 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-12 12:11:20 +0100
commitff7ee3e3e070a2abee70fd93062065060118cf9e (patch)
tree2718e81141bc32ac272b77f67e7e381f4ae68dbf /include
parentcce0f5c05980c0f51348536192e5527a0828940c (diff)
chore: wip: Introduce `libNectarStd`'s Generics Library.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/LibNectarRuntime/.keep0
-rw-r--r--include/LibNectarStd/iostream.ncpp19
-rw-r--r--include/LibNectarStd/iterator.ncpp13
3 files changed, 32 insertions, 0 deletions
diff --git a/include/LibNectarRuntime/.keep b/include/LibNectarRuntime/.keep
deleted file mode 100644
index e69de29..0000000
--- a/include/LibNectarRuntime/.keep
+++ /dev/null
diff --git a/include/LibNectarStd/iostream.ncpp b/include/LibNectarStd/iostream.ncpp
new file mode 100644
index 0000000..ecd1132
--- /dev/null
+++ b/include/LibNectarStd/iostream.ncpp
@@ -0,0 +1,19 @@
+// Copyright 2026, 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
+
+import printf, scanf;
+
+struct ostream
+{
+ let print(let data)
+ {
+ return nil;
+ }
+
+ let scan(let fmt)
+ {
+ return nil;
+ }
+}; \ No newline at end of file
diff --git a/include/LibNectarStd/iterator.ncpp b/include/LibNectarStd/iterator.ncpp
new file mode 100644
index 0000000..fe9015d
--- /dev/null
+++ b/include/LibNectarStd/iterator.ncpp
@@ -0,0 +1,13 @@
+
+struct iterator
+{
+ let begin(let collection)
+ {
+ return nil;
+ }
+
+ let end(let collection)
+ {
+ return nil;
+ }
+}; \ No newline at end of file