Sunday 17 July 2016

[C][Java][Prolog] Building XSB Prolog and InterProlog on Debian "jessie" 8.0 64-bit

This article is a guide to building XSB Prolog and InterProlog.
XSB extends Prolog with tabled resolution and HiLog (a standard extension of Prolog permitting limited higher-order logic programming).[1]
Tabled resolution is a very useful feature in logic programming. SWI-Prolog has its own implementation which seems to be less mature than XSB's[2]. SWI-Prolog's documentation of the feature states its two uses: memoization[3] and avoiding non-termination. Check http://www.swi-prolog.org/pldoc/man?section=tabling for more details.

All of the following operations are performed on a 64-bit Linux Debian "jessie" 8.0 machine.