dlangspec.pdf?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sat Jan 5 19:15:45 PST 2013
On 1/5/13 5:17 PM, Walter Bright wrote:
> On 1/5/2013 1:32 PM, Philippe Sigaud wrote:
>> What should it be? Some module to define text transformations?
>> std.regex does
>> this quite well.
>
>
> A text macro system is not std.regex at all. What std.textmacro should
> be is a range that takes a text input stream, an associative array of
> NAME=VALUE pairs, and it outputs a text range with the macros having
> been expanded.
Example: http://www.stringtemplate.org/
Andrei
More information about the Digitalmars-d
mailing list