Contributions to Prolog quasiquoting paper.  Forked from git://www.swi-prolog.org/home/janw/git/WLPE-13.git