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 gjn@agh.edu.pl supervised the implementation.
Copyright: © 2007 Pawel Kupka
Copyright: © 2004 Nigel McNie (http://qbnz.com/highlighter/)
Installation
Use
<code prolog>
parent(pam,bob).
female(pam).
</code>
/*
* 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 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 Logtalk, see the forum post.