Thread overview | |||||
---|---|---|---|---|---|
|
January 01, 2021 Djinn: a new templating language and code generator | ||||
---|---|---|---|---|
| ||||
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 Re: Djinn: a new templating language and code generator | ||||
---|---|---|---|---|
| ||||
Posted in reply to sarn | 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 Re: Djinn: a new templating language and code generator | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ferhat Kurtulmuş | 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
|
Copyright © 1999-2021 by the D Language Foundation