-
-
Notifications
You must be signed in to change notification settings - Fork 42
Description
The goal of this issue is to discuss the implementation of something like NodeJS or Python modules, which can be developed and distributed for use across multiple projects with ease.
Any changes to the module-loading system should be backwards compatible with current projects, otherwise we will have to defer it to DOME 2.0.0
I think my own preference would be to extend the .egg/.tar loading system and use that file format for distributing modules.
As far as indicating that part of a module is being imported, I'd expect something like:
import "@domepunk" for PRNG
or, possibly allowing access to sub-files within a module using:
import "@domepunk/sub/path/to/Random" for PRNG
The hard bit is that DOME would need to keep track of which "module context" it was in, in order to resolve modules properly, as well as other rabbit-hole issues.