DMD backend now in D

rikki cattermole rikki at cattermole.co.nz
Mon Nov 12 11:19:47 UTC 2018


On 13/11/2018 12:12 AM, Jacob Carlborg wrote:
> On 2018-11-12 03:37, Walter Bright wrote:
>> On 11/11/2018 3:58 PM, Mike Franklin wrote:
>>> This is a significant milestone.  Congratulations, Walter!
>>
>> Many people helped out with this, too.
>>
>>> There are still a few .c files in
>>> https://github.com/dlang/dmd/tree/master/src/dmd/backend, so what's
>>> the significance of those?
>>
>> tk.c
>> fp.c
>> os.c
>> strtold.c
>> tk/mem.c
>>
>> These could be converted too, but are independent from everything else
>> and hardly seem worth the bother. Sebastian has a PR for os.cd.
> 
> dmd/root/ctfloat.d depends on the "strtold_dm" function defined in 
> strtold.c [2] when compiling using Visual Studio. That means that the 
> Dub package cannot be compile using Visual Studio without this file.
> 
> [1] 
> https://github.com/dlang/dmd/blob/4df5d6a6e8775754148939beb6de827fe4b0b9ab/src/dmd/root/ctfloat.d#L167-L170 
> 
> 
> [2] 
> https://github.com/dlang/dmd/blob/4df5d6a6e8775754148939beb6de827fe4b0b9ab/src/dmd/backend/strtold.c#L138 

That module needs a right rethink for dmd-fe as a library purposes.

https://issues.dlang.org/show_bug.cgi?id=18810



More information about the Digitalmars-d-announce mailing list