On Thursday, 2 January 2014 at 01:12:24 UTC, Dylan Knutson wrote:
On Wednesday, 1 January 2014 at 13:04:27 UTC, Jacob Carlborg
wrote:
On 2013-12-31 07:05, Dylan Knutson wrote:
Hello,
A few months ago I had posted a project of mine, templ-d. It
was an
experiment in writing a template engine fo
I've made a post on Reddit, if anyone that found the library
nifty would like to upvote:
http://www.reddit.com/r/programming/comments/1u71sr/temple_compile_time_embedded_templating_engine/
On Wednesday, 1 January 2014 at 13:04:27 UTC, Jacob Carlborg
wrote:
On 2013-12-31 07:05, Dylan Knutson wrote:
Hello,
A few months ago I had posted a project of mine, templ-d. It
was an
experiment in writing a template engine for embedding D code in
arbitrary text files, a-la Vibe.d's Diet tem
On 2013-12-31 07:05, Dylan Knutson wrote:
Hello,
A few months ago I had posted a project of mine, templ-d. It was an
experiment in writing a template engine for embedding D code in
arbitrary text files, a-la Vibe.d's Diet templates, but without the
requirement of generating HTML.
So, I've revam
On 2014-01-01 12:53, Jacob Carlborg wrote:
I was pretty sure that was possible, but apparently it doesn't compile.
Reported as: https://d.puremagic.com/issues/show_bug.cgi?id=11855
--
/Jacob Carlborg
On 2014-01-01 04:24, Dylan Knutson wrote:
Ah yeah, I quite like that. I tried to implement the
`var.should_bort!bool` syntax, but I can't pass an additional type
parameter to opDispatch, other than the string of the method it's
dispatching to. Is there a way to do that? Something like this:
str
Added a goodie: Nestable capture blocks (like pseudo-templates
inside your templates)
This template:
```
<% auto outer = capture(() { %>
Outer, first
<% auto inner = capture(() { %>
Inner, first