How can we make it easier to experiment with the compiler?
Alexandru Ermicioi
alexandru.ermicioi at gmail.com
Mon May 24 09:55:42 UTC 2021
On Monday, 24 May 2021 at 06:58:48 UTC, Walter Bright wrote:
> On 5/23/2021 10:15 PM, Nicholas Wilson wrote:
>> This is a _completely_ orthogonal problem.
>
> It's the same problem.
>
> D's support for modules and packages is literally designed
> around matching the hierarchy of the source files.
>
> Shuffling files around accomplishes nothing when every module
> imports every other module.
It will be a huge help if they are though. At minimum it will
organize the things into packages that have one purpose, which
will help in understanding the structure of dmd, and also make
navigation and search of desired functionality easier, compared
to one flat package. This can actually be the first step at
unwinding all the mess with imports you're mentioning, since
packages are not just folders, but logical organization of a set
of modules that are somewhat related to the purpose the package
has.
More information about the Digitalmars-d
mailing list