====== Introduction ====== This page contains information about a plugin developed for GeSHi to support Prolog syntax highlighting. This simple idea came to mind of Grzegorz J. Nalepa and Igor Wojnicki who were also the first testers. The implementation was carried out in 2007 by a student Paweł Kupka. Grzegorz J. Nalepa supervised the implementation. Copyright: (c) 2007 Pawel Kupka Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) ====== Installation ====== * download the file {{:prolog:geshi_prolog-1.0.zip|geshi_prolog-1.0.zip}} * unpack * copy the file ''prolog.php'' to the directory ''$WIKI/inc/geshi/'' * have fun! * report bugs :-) ====== Use ====== parent(pam,bob). female(pam). /* * family.pl * taken from Bratko, 3rd ed, ch.1, p.17 * */ parent(pam,bob). parent(tom,bob). parent(tom,liz). female(pam). female(liz). female(pat). male(tom). male(bob). male(jim). mother(X,Y) :- parent(X,Y), female(X). father(X,Y) :- parent(X,Y), male(X). For more examples see [[prolog_lab|the Prolog lab]] (in polish :-) ) ====== Future work ====== The plugin has been submitted to GeSHi on 29/02/2008. The plugin is being extended to support [[http://www.logtalk.org|Logtalk]], see the [[http://forums.logtalk.org/viewtopic.php?f=18&t=12|forum post]].