Haxe port of Nicolas' templo template engine