proposal: a new string litteral to embed variables in a string
Daniel Davidson
nospam at spam.com
Sat Nov 2 06:45:13 PDT 2013
On Thursday, 31 October 2013 at 21:24:42 UTC, Timothee Cour wrote:
> I've actually already implemented this feature via a mixin, and
> find it
> extremely useful, but removing the mixing via this proposal
> would make it
> even more palatable. It works using a simple grammar that
> searches for
> valid identifiers after a @, or finds nested expressions nested
> inside
> parenthesis (arbitrary nesting allowed).
>
> Proper tooling will syntax highlight correctly the nested
> variables.
>
Would you mind posting your code?
Thanks
Dan
More information about the Digitalmars-d
mailing list