[Dlang-internal] Removing ddmd. prefix from dmd module names
Dicebot via Dlang-internal
dlang-internal at puremagic.com
Sun Nov 27 18:11:45 PST 2016
On 11/28/2016 01:15 AM, Walter Bright wrote:
> On 11/9/2016 11:44 PM, Walter Bright wrote:
>> The dmd build has a problem - all the .d files have to be specified on
>> the same
>> command line. The trouble is the prefix ddmd. on all the imports, yet
>> there is
>> no ddmd directory. D is designed to have the path/file structure match
>> the
>> package/module structure.
>>
>> https://github.com/dlang/dmd/pull/6249
>>
>> illustrates the change. Another option is to move the files into a
>> subdirectory
>> named 'ddmd'.
>>
>> It's worth some wider discussion.
>
> I came up with another solution that does not require any source code
> changes:
>
> https://issues.dlang.org/show_bug.cgi?id=16798
> https://github.com/dlang/dmd/pull/6286
In this specific case "and refactoring the package/module names is
undesirable for various reasons" is not truly relevant - refactoring of
dmd package stucture IS much desirable on its own even if there are no
other reasons to do so.
Interesting idea though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/dlang-internal/attachments/20161128/ff5873be/attachment.sig>
More information about the Dlang-internal
mailing list