Hi all!
wlang 2.2.0 has just been released.
WLang is a powerful code generation and templating engine. The 2.0
branch
is a complete rewrite inspired by mustache. As mustache, wlang
encourages
logic-less templates. Two main differences with mustache:
-
wlang’s engine is fully reprogrammable, meaning that you can define
your
own set of tags, for specific purposes. A WLang::Html dialect is
provided
that can be used as example for developing your own dialect. -
wlang supports high-order constructions, meaning that tags invocations
such as${${var}}
are supported. The example renders the variable
whose
name is the current value ofvar
.
The examples
folder contains some documentation of wlang’s most
interresting features, using self-contained templates thanks to the
built-in support for YAML front matter in wlang templates. The wlang
console tool can be used to render those examples.
2.2.0 / 2013-03-05
- Added ATTR/VALUE pairs to the wlang command line tool, for passing
data
to templates
in an easy way.