yamlpp is a very simple HTML preprocessor inspired by Nicolas Thiery's htmlpp (see htmlpp.sourceforge.net). yamlpp is Copyright (C) 2001 Jean-Christophe FILLIÂTRE and freely distributed under GPL. INSTALLATION ============ ./configure make make install Default installation is in /usr/bin. You can specify an alternate directory with ./configure --bindir dir USAGE ===== usage: yamlpp [-l lang] [-o file] files Languages: <#fr> ... <#en> ... <#it> ... Macro definition: <#def m> ... Macro use: <#m> Macro test: <#ifdef m> ... Predefined macros: <#language> <#date> <#yamlpp> EXAMPLE ======= Your input file index.prehtml is the following ===index.prehtml====================================================== <#def navig> <#fr>English <#en>Français <#def GNU>GNU <#fr>Titre Français</#fr><#en>English title</#en> <#fr>N'hésitez pas à visiter le site de <#GNU>. <#en>Have a nice time visiting the <#GNU> web site. <#navig> ====================================================================== and you produce the corresponding French and English pages with yamlpp -l fr -o index.fr.html index.prehtml yamlpp -l en -o index.en.html index.prehtml CHANGES ======= version 0.3 o fixed bug with nested #ifdef (patch contributed by Pierre Letouzey)