Haxe port of Nicolas' templo template engine.
Install the library via haxelib
haxelib install hxtemplo
templo.Template.fromString(s:String, ?sourceName = null);
// or
templo.Template.fromFile(path:String);Templo directives start with two double-dots: ::directive. The supported
directives are:
::raw::if,::elseifand::else::foreach::set::fill::cond(within node definition)::repeat(within node definition)::attr(within node definition)::switchand::case::use::eval
The following directives are currently unsupported:
::compare~=
This Haxe library depends on hxparse.