Search

January 10, 2024
General »
...com/Abscissa/scriptlike/blob/master/examples/features/StringInterpolation.d

I care a lot about D...
January 28, 2021
General »
...what I would propose:

1. If a StringInterpolation token appears anywhere other than an argument...
February 28, 2020
Announce »
...bar";

Could be lowered to:

auto _temp = StringInterpolation(8 /* literal capacity */, 1 /* interpolation count */);
_temp...
February 05, 2020
General »
...the @stringInterpolation UDA it generates the struct according to Adam's proposal. Example:

@stringInterpolation string...
December 17, 2019
General »
...lowered to something like:

var interpolation = MyString.StringInterpolation(literalCapacity: 13,
                                                 interpolationCount: 1)

interpolation.appendLiteral("The...
December 16, 2019
General »
Some hashtags to get things started:

#dip1027
#stringInterpolation
December 13, 2019
General »
...lowered to something like:

var interpolation = MyString.StringInterpolation(literalCapacity: 13,
                                                 interpolationCount: 1)

interpolation.appendLiteral("The...
April 09, 2019
General »
...a type that is expected by your StringInterpolation implementation

// member function that implements string interpolation...