The source is here.

Create some db: db.sql, dbtree.sql

Report templates: filteredtree.html, books.html.


Repgor uses SWI Prolog's ODBC-library to connect to the DB, and executes SQL queries embedded in the (XML-)templates. Repgor is especially useful for reports involving (computations on) trees. It uses SWI-Prolog's CLP(Q) library and can compute expressions that are hard to impossible with SQL.


Main page