www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Djinn: a new templating language and code generator

reply sarn <sarn theartofmachinery.com> writes:
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.
Jan 01 2021
parent reply Ferhat =?UTF-8?B?S3VydHVsbXXFnw==?= <aferust gmail.com> writes:
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.
Jan 01 2021
parent Imperatorn <johan_forsberg_86 hotmail.com> writes:
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
Jan 01 2021