DIP 1027---String Interpolation---Community Review Round 1

mipri mipri at minimaltype.com
Fri Dec 20 03:23:56 UTC 2019


On Wednesday, 11 December 2019 at 09:52:21 UTC, Mike Parker wrote:
> This is the feedback thread for the first round of Community 
> Review for DIP 1027, "String Interpolation":
>
> https://github.com/dlang/DIPs/blob/148001a963f5d6e090bb6beef5caf9854372d0bc/DIPs/DIP1027.md

How are the following strings handled?

   i"hello $$name"  // double $

   i"hello $ name"  // no following identifier

   i"hello $"  // no following string

   i"hello \$name"  // escaped $

   i"hello $+name"  // invalid following character

(with the % -> $ change from a while back in the thread)


More information about the Digitalmars-d mailing list