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

Reply via email to