C++ port of Perl's HTML::Template