The state of string interpolation

Jonathan Marler johnnymarler at gmail.com
Sat Dec 8 04:04:37 UTC 2018


On Saturday, 8 December 2018 at 02:49:46 UTC, H. S. Teoh wrote:
> How does Marler's implementation behave? Does it capture 
> expressions? If it does, we have good news (but we'll have to 
> document this clearly, since it would be unprecedented in the 
> current language).  If not, we'll have to think more carefully 
> about how to implement this.
>
>
> T

Yes it captures expressions. I've gone ahead and reopened and 
rebased my PR so that people can try it out.  Once you build it, 
make sure to include the "-transition=interpolate" flag to enable 
string interpolation.  And take a look at the 
"test/runnable/istring.d" for examples.


More information about the Digitalmars-d mailing list