Replace core language HexStrings with library entity

Nick Treleaven via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 17 06:00:36 PDT 2015


On 17/03/2015 12:42, Daniel Murphy wrote:
> "Nick Treleaven"  wrote in message news:me950a$2boc$1 at digitalmars.com...
>
>> On 17/03/2015 03:28, Andrei Alexandrescu wrote:
>> > On a higher level: there's no subset of the language that's at the same
>> > time sufficiently complex and sufficiently obscure to make its
>> removal a
>> > net positive.
>>
>> q"" delimited strings. No one uses them (used once in all of Phobos).
>> They are obscure and add some complexity to lexing D.
>
> They don't have a high complexity though, and that's the point.  The
> amount of code in the compiler to support them is trivial.

They add complexity to tools such as ctags (written in C, the fishman 
fork supports D but not D-specific strings).


More information about the Digitalmars-d mailing list