Thread overview
Djinn: a new templating language and code generator
Jan 01, 2021
sarn
Jan 01, 2021
Ferhat Kurtulmuş
Jan 01, 2021
Imperatorn
January 01, 2021
I was using Jinja2 to generate some files and I wished I had D ranges.  So I made a toy proof-of-concept of a D answer to Jinja2.  Then a COVID-19 outbreak here triggered a lockdown, and I polished it up a bit more:
https://theartofmachinery.com/2021/01/01/djinn.html

Hope someone else finds it useful, too.
January 01, 2021
On Friday, 1 January 2021 at 11:10:02 UTC, sarn wrote:
> I was using Jinja2 to generate some files and I wished I had D ranges.  So I made a toy proof-of-concept of a D answer to Jinja2.  Then a COVID-19 outbreak here triggered a lockdown, and I polished it up a bit more:
> https://theartofmachinery.com/2021/01/01/djinn.html
>
> Hope someone else finds it useful, too.

Looks quite handy and powerful. It would be nice if it is available with the dub database.
January 01, 2021
On Friday, 1 January 2021 at 11:34:43 UTC, Ferhat Kurtulmuş wrote:
> On Friday, 1 January 2021 at 11:10:02 UTC, sarn wrote:
>> I was using Jinja2 to generate some files and I wished I had D ranges.  So I made a toy proof-of-concept of a D answer to Jinja2.  Then a COVID-19 outbreak here triggered a lockdown, and I polished it up a bit more:
>> https://theartofmachinery.com/2021/01/01/djinn.html
>>
>> Hope someone else finds it useful, too.
>
> Looks quite handy and powerful. It would be nice if it is available with the dub database.

+1 for dub