Replace core language HexStrings with library entity

Artur Skawina via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 17 10:33:25 PDT 2015


On 03/17/15 15:15, Daniel Murphy via Digitalmars-d wrote:
> "Nick Treleaven"  wrote in message news:me98hl$2erf$1 at digitalmars.com...
> 
>> They add complexity to tools such as ctags (written in C, the fishman fork supports D but not D-specific strings).
> 
> Yes, but only a very little bit.  How much code could you delete from a D lexer if they were removed?

About 80 lines. Which can actually be a significant portion of a full lexer (~15%).
That still does not mean that they should go; they are useful, for example for
writing multiline embedded DSLs.
OTOH this would be just one more random weekly language change, so why not?

artur


More information about the Digitalmars-d mailing list