It introduces module loaders as modules, while keeping the main loader in the core, as it's silly otherwise. It's a "module", though. Will probably always occupy slot 0.
[x] Replace module abstractions with better managing ones.
[x] Introduce mod module type: Module loaders.
[x] Introduce module loader registration and functions using it.
[x] Refactor old module loader into mod module, always compiled in.
This is a WIP PR implementing some of #51.
It introduces module loaders as modules, while keeping the main loader in the core, as it's silly otherwise. It's a "module", though. Will probably always occupy slot 0.
mod
module type: Module loaders.mod
module, always compiled in.