D - Looking for clarification: Explicitly named modules
- Russ Lewis (9/9) Sep 16 2002 When a module has a "module" statement to change its module name, how
- Burton Radons (4/8) Sep 16 2002 File name. It's just to ensure that symbols are mangled using a global
- Walter (4/12) Sep 16 2002 It's also looking forward to implementations which would not need to rel...
- Walter (3/7) Sep 16 2002 Given the current limitations, it'll need to match the file name.
When a module has a "module" statement to change its module name, how should other modules import it? By file name, or module name? If by module name, what kind of search must the compiler perform to find the appropriate module? -- The Villagers are Online! villagersonline.com .[ (the fox.(quick,brown)) jumped.over(the dog.lazy) ] .[ (a version.of(English).(precise.more)) is(possible) ] ?[ you want.to(help(develop(it))) ]
Sep 16 2002
Russ Lewis wrote:When a module has a "module" statement to change its module name, how should other modules import it? By file name, or module name? If by module name, what kind of search must the compiler perform to find the appropriate module?File name. It's just to ensure that symbols are mangled using a global name rather than an import or local name; it's not used outside of that capacity.
Sep 16 2002
"Burton Radons" <loth users.sourceforge.net> wrote in message news:3D865645.7090505 users.sourceforge.net...Russ Lewis wrote:It's also looking forward to implementations which would not need to rely on the file system. There'd be more of a 'database' of modules.When a module has a "module" statement to change its module name, how should other modules import it? By file name, or module name? If by module name, what kind of search must the compiler perform to find the appropriate module?File name. It's just to ensure that symbols are mangled using a global name rather than an import or local name; it's not used outside of that capacity.
Sep 16 2002
"Russ Lewis" <spamhole-2001-07-16 deming-os.org> wrote in message news:3D8642FA.E21573C7 deming-os.org...When a module has a "module" statement to change its module name, how should other modules import it? By file name, or module name? If by module name, what kind of search must the compiler perform to find the appropriate module?Given the current limitations, it'll need to match the file name.
Sep 16 2002