You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
37 modules. 52KB binary. N=7 ∈ [4,12]. Boots in QEMU.
Author: Josué Argaña Silguero
What This Is
A functional kernel written in C. Real filesystem, scheduler, memory allocator, crypto. Interactive shell. Compiles with gcc -m32. Boots via QEMU multiboot.
Quick Start
git clone https://huggingface.co/datasets/Jose-dev/natkernel
cd natkernel
make
make run
Verified Output (QEMU, August 2026)
===== NATKERNEL v3.0 =====
> write /test HOLA
OK 4 bytes
> cat /test
HOLA
> ls
/
/test
> hash NATKERNEL
acdc3e9dcd9bbfd69c361db7796a44064d324274f090958612567ed0f9577755
> spawn
PID=1
> spawn
PID=2
> ps
PID STATE
1 READY
2 READY
Total: 2
> mem
Free: 131072 KB Used: 0 pages
> ver
N=7
IR Kinds — Universal Grammar
N=7 ∈ [4,12]
IR-define — constants, flags, limits
IR-typedef — type system
IR-struct — data structures (PCB, inode, socket)
IR-extern — global state, static tables
IR-inline — atomic operations, helpers
IR-loop — iteration (for/while)
IR-if — control flow, validation
IR-return — results, error codes
All 37 modules use only these 7 patterns.
Same grammar across USB, PCIe, ATA, filesystem, network, crypto.