Diet-NG 1.0.0 released

Sönke Ludwig via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Sep 23 04:47:23 PDT 2016


The Diet template language is aimed at providing a way to define 
procedurally generated HTML/XML pages (or other output formats), with 
minimal visual noise. Syntax and feature set are heavily inspired by pug 
<https://pugjs.org/>, but instead of JavaScript, all expressions and 
statements are D statements, and everything that can be done at 
compile-time is done at compile-time.

The library is now considered ready for (careful) production use and can 
be used with the latest pre-release versions of vibe.d (just add it as a 
dependency to your project and vibe.d will use it for rendering Diet 
templates automatically).

For more information about the improvements of this library over the 
original implementation that (still) comes with vibe.d, see the original 
announcement: https://forum.dlang.org/thread/nn4m62$14r5$1@digitalmars.com


Source/DUB package:

https://code.dlang.org/packages/diet-ng
https://github.com/rejectedsoftware/diet-ng


More information about the Digitalmars-d-announce mailing list