also you know how Linux has modules?
my kernel will have a different system, which I call KernelScript!
basically, the kernel will contain an interpeter that translates KernelScript code to C code
for example, "sendbyte 0x20 to 0x20" will become "outb(0x20, 0x20)"
the OS can parse KernelScript (.ks) files to the kernel via syscall and the kernel will execute it, making it possible to extend kernel functionality without needing a complex module system!