This change generalizes the support for default modules (added as part of marapongo/mu#57), to use an "alias" table. This is just a table of alternative module names to the real defining module name. The default module is now just represented as a mapping from the special default module token, ".default", to the actual defining module. This generalization was necessary to support Node.js-style alternative names for modules, like "lib" mapping to "lib/index". |
||
---|---|---|
.. | ||
binder.go | ||
compiler.go | ||
eval.go | ||
new.go |