Which patches/mods exists for current versions of the DMD parser?

eles via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 8 08:35:57 PDT 2014


On Monday, 8 September 2014 at 08:51:10 UTC, Ola Fosheim Grøstad 
wrote:

> I'm currently working on the following mods (not thoroughly 
> tested yet):

> What kind of syntactical sugar do you feel is missing in D?

//inclusive range
in : a ... b
out: a .. (b+1)

//range as start/length
in : a .$. b
out: a .. (a+b)

Not sure if this was implemented or not yet:

in: typename[$] x
out: typename[x.length] x //well, kind of

But, I agree, I am not fan of forking D now. But I have nothing 
against it.

Pretty sure that D started as a kind of fork of C or C++ at some 
point...


More information about the Digitalmars-d mailing list