REBOL3 tracker
  0.9.12 beta
Ticket #0001695 User: anonymous

Project:



rss
TypeWish Statustested Date20-Oct-2010 16:58
Versionalpha 108 CategoryMezzanine Submitted byBrianH
PlatformAll Severityminor Priorityhigh

Summary Restore use of unnamed modules to the new module system
Description This is an enhancement of #1692.

Unnamed modules can't be added to the system modules list (because they have no name to index them by). Since they can't go in the list, they shouldn't export to the system runtime library (lib). As of alpha 108, the way this problem is dealt with is to trigger an error.

A better way to deal with these is to pretend that they were imported with IMPORT/no-lib (don't add them to the module list or import to lib), and that they were declared as private modules (see #1692). If done right, this should make them exportable to their calling module/script, and unique to it. There is no way that the modules can be reused through the module list without a name, so they won't be reused at all.

This will make simple module hierarchies easier to implement, and allow some advanced tricks that we don't need to go into here.
Example code

			

Assigned ton/a Fixed inalpha 110 Last Update2-Nov-2010 06:51


Comments

Date User Field Action Change
2-Nov-2010 06:51 BrianH Status Modified built => tested
1-Nov-2010 19:44 BrianH Fixedin Modified alpha 109 => alpha 110
21-Oct-2010 06:18 BrianH Description Modified -
21-Oct-2010 01:51 carl Fixedin Modified => alpha 109
21-Oct-2010 01:51 carl Status Modified pending => built
20-Oct-2010 16:59 BrianH Description Modified -
20-Oct-2010 16:59 BrianH Status Modified submitted => pending
20-Oct-2010 16:58 BrianH Ticket Added -