nlb folders - jpbubble/NIL-isn-t-Lua GitHub Wiki
I briefly mentioned them in the "#use" directive folder, but I shall go a bit more into the deep of these.
"nlb" means "NIL Library Bundle".
The system has nothing really crazy set up, the system is just there for cleanness sake. NIL itself can live without them, but if you wanna be clean, NIL has been set up to work these out.
You can if you have a folder named "MyLibrary.nlb" there must be a file named "MyLibrary.nil" or "MyLibrary.lua" in there. Now doing either this:
#use MyLibrary
or
NIL.Use("MyLibrary")
Will make NIL import "MyLibrary.nlb/MyLibrary.nil" or "MyLibrary/MyLibrary.lua" (if both exists, NIL will load the .nil variant only). Aside from this file you can put in this what you want (although do not create a file with the library's name with the ".GINI" extension, as this is a kind of file I've in mind for more advanced features in the future, and that may cause conflicts then). This way libraries that contain multiple files are just bundled together, and that's all there's to it, basically.