mustache

Mustache logic-less templates in OCaml
Library mustache
type t =
| String of string
| Escaped of dotted_name
| Section of section
| Unescaped of dotted_name
| Partial of partial
| Inverted_section of section
| Concat of t list
| Comment of string
and section = {
name : dotted_name;
contents : t;
}
and partial = {
indent : int;
name : name;
contents : t option Lazy.t;
}