dlangspec.pdf?

Philippe Sigaud philippe.sigaud at gmail.com
Sat Jan 5 14:48:41 PST 2013


On Sat, Jan 5, 2013 at 11:17 PM, Walter Bright
<newshound2 at digitalmars.com>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.
>

OK, that's doable. It looks like a map-flatten action.
(map the first element, it might contain new macros, expand these again,
etc)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130105/bce7ac78/attachment.html>


More information about the Digitalmars-d mailing list