When you’re first learning about Prolog, sometimes you’ll read books or tutorials that show you typing in “clauses,” and then immediately thereafter typing a “query.” If you use a visual or browser-based Prolog implementation, you’ll discover that there are two “modes” (my term), one for the input of the program / database, and one for [...]
Posts Tagged ‘prolog’
SWI-Prolog from MacPorts on OS X 10.5
Tried installing the binary of SWI-Prolog (swi-prolog-5.8.2-leopard-intel.mpkg) on my Mac OS X 10.5 box. For whatever reason, it was bombing out with some nasty errors (Libary not loaded … image not found). Read about others’ troubles and decided to try MacPorts. Couldn’t get SWI-Prolog to install using a standard: $ sudo port -v install swi-prolog [...]