[Dlang-internal] Removing ddmd. prefix from dmd module names

Rikki Cattermole via Dlang-internal dlang-internal at puremagic.com
Wed Nov 9 23:47:54 PST 2016


On Thursday, 10 November 2016 at 07:44:08 UTC, 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.

Another option is to get around to making the frontend actually 
fully separate in the directory structure to the backend.

E.g.

src/dlang/frontend/
src/dlang/backend/
src/dlang/mars.d

import dlang.frontend.apply;

It would be the first stage of actually making the frontend 
actually palatable to us end developers.


More information about the Dlang-internal mailing list