Re: use «chevrons» to represent string literal

Walter Bright newshound2 at digitalmars.com
Wed Feb 12 18:23:10 UTC 2025


D has shied away from using grammar syntax based on characters that:

1. are not ASCII

2. are not on a standard keyboard

We also do not use things like “quotes” in syntax. They are accepted in string 
literals, however.

D does support named character entities:

https://dlang.org/spec/entity.html

in string literals.

Any and all Unicode code points are supported in comments and string literals. 
Some are supported in identifiers, but I'm not convinced that is a good idea.


More information about the dip.ideas mailing list