Phil is a HTML template engine implemented as a library to parse
HTML/XHTML or any other text file that contains some special markup
instructions. The library is written in C++ and aims to be used by
C++ developers who need a small HTML template engine.
PHIL gives you the basics and only the basics, there are no complex
APIs to learn.
free software
Licensed under
GPLv3, you can
use PHIL for your own free software project. Other licenses available on
demand.
example
Here's an example of how to use PHIL in your C++ code:
phil_example.cpp. More examples
are available in the doc/language_reference.txt file that comes with the
package.
regression tests
A bunch of regression test cases take care that PHIL does what it is supposed
to do. As a bonus, there are several examples of how to use PHIL available.
Just in case you want to have a look.
You need the Boost::Spirit++ parser framework available at
http://spirit.sourceforge.net/.
As Spirit++ is a header-only framework, no runtime library is needed.