Doesn't DMD as a library already exist without an external dub project?

Andre Pany andre at
Sun Sep 6 16:14:40 UTC 2020

On Sunday, 6 September 2020 at 13:13:43 UTC, Andrew Edwards wrote:
> On Sunday, 6 September 2020 at 12:48:30 UTC, Andre Pany wrote:
>> On Sunday, 6 September 2020 at 11:55:17 UTC, Andrew Edwards 
>> wrote:
>>> My naïveté often gets the best of me, so if I seem to be 
>>> jumping off the deep end, please pull me back before I hurt 
>>> myself.
>>> [...]
>> As far as I remember, the current version schema of dmd 
>> (2.0xx.x) isn't semver compatible but that will be solved soon 
>> with dmd 2.100.0.
>> Kind regards
>> Andre
> It's been a running complaint in the forum for over a decade 
> now. I wasn't aware there were efforts underway to resolve the 
> issue, though. Thanks for pointing that out. Just curious, how 
> does semver (non-)compatibility prevent/aid in using the 
> compiler as a library?
> Thanks,
> Andrew

Afaik there is no active development regarding semver compatible 
of dmd. It is only a technical detail that 2.099.0 is not a valid 
semver version while 2.100.0 is. Therefore it could be added as 
dub package starting with 2.100.0.

Kind regards

More information about the Digitalmars-d mailing list