It seems you do not understand the separation between applications and the language implementation/toolchain/system libraries and that NetBSD contains a lot of both, plus the freestanding kernel.
I would appreciate if this separation of application domains will become clearer with further explanations for the source file hierarchy.
Regards, Markus