Temple: Compile time, embedded D templates

Jacob Carlborg doob at me.com
Fri Jan 3 02:55:36 PST 2014


On 2014-01-03 09:39, Dylan Knutson wrote:

> That's a really good idea...
> [the day passes by]
>
> Support implemented in v0.5.0:
> https://github.com/dymk/temple#filter-policies
>
> FilterPolicies allow the developer to insert hooks for when an
> expression is appended to the buffer. This can be overloaded for
> different types of expressions, letting concepts like Tainted strings
> (e.g. your safe vs. unsafe strings) to be implemented. I added an
> example to the README showing a simple example of this.

Cool :)

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list