<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 25, 2016 at 10:46 AM, Sönke Ludwig via Digitalmars-d-announce <span dir="ltr"><<a href="mailto:digitalmars-d-announce@puremagic.com" target="_blank">digitalmars-d-announce@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">Am 24.09.2016 um 15:04 schrieb WebFreak001:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
On Friday, 23 September 2016 at 11:47:23 UTC, Sönke Ludwig wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The Diet template language is aimed at providing a way to define<br>
procedurally generated HTML/XML pages (or other output formats), with<br>
minimal visual noise. Syntax and feature set are heavily inspired by<br>
pug <<a href="https://pugjs.org/" rel="noreferrer" target="_blank">https://pugjs.org/</a>>, but instead of JavaScript, all expressions<br>
and statements are D statements, and everything that can be done at<br>
compile-time is done at compile-time.<br>
</blockquote>
<br>
Cool, does it also work for generating diet -> html at runtime without<br>
inline D code? Would be pretty neat to have for static pages.<br>
</blockquote>
<br></div></div>
Not included, but that would be relatively trivial to implement by taking the diet.html module and modifying it to output HTML instead of D code. It would actually be really easy to build a Jade/pug compiler that way.<br></blockquote><div> </div></div>If you just want to do runtime jade -> html right now you can use my Jade implementation [0]. I don't think it has any users though so your mileage may vary. Even I use Diet :)</div><div class="gmail_extra"><br></div><div class="gmail_extra">R</div><div class="gmail_extra">[0] <a href="https://github.com/rjmcguire/jaded">https://github.com/rjmcguire/jaded</a></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>