Where are the the comments in dmd?

Sputnic sput at gmail.com
Fri May 7 15:57:45 UTC 2021


On Friday, 7 May 2021 at 09:32:11 UTC, Walter Bright wrote:
> On 5/3/2021 6:17 AM, Blatnik wrote:
>> Honestly another difficult thing to get is the file names 
>> themselves.
>> 
>> `ty.d`
>
> TYpes
>
>> `ph2.d`
>
> Precompiled Headers
>
>> `mars.d`
>
> Entry point. So named when D was originally the "Mars" 
> programming language. It was the first source file! I tend to 
> name the source file that contains the program entry point with 
> the name of the ultimate executable.
>
>> `melf.d`
>
> The D translation of "melf.h", a system file
>
>> `fp.d`
>
> Floating Point
>
>> `ee.d`
>
> Execution Environment
>
>> `e2ir.d`,
>
> Expression To Intermediate Representation
>
>> `eh.d`
>
> Exception Handling
>
>> `el.d`
>
> ELements


Couldn't these be renamed to be more readable? I don't think it 
is reasonable to expect someone to know that "ee" stands for 
execution environment. This would be a step towards reducing the 
barrier to entry for DMD.





More information about the Digitalmars-d mailing list