I would like to make a custom scheme for Programmers notepad for the Prolog language. Just simple syntax highlighting would be nice. Is there any docs on this?
(apart from the few lines here http://www.pnotepad.org/developer/)
Example code:
% PLIS1 - Lecture 6 (loops)
% Using the person clauses given in Section 6.3.1 of Logic Programming with Prolog, find the professions of all those over 40.
%
person(john,smith,45,london,doctor).
person(martin,williams,33,birmingham,teacher).
person(henry,smith,26,manchester,plumber).
person(jane,wilson,62,london,teacher).
person(mary,smith,26,glasgow,surveyor).
%
% the keyword fail can be used like a ForAll statment to find all the occurrences of something
%
allPeopleOver40:-person(FirstName,LastName,Age,_,_),Age>40,write(FirstName),write(' '),write(LastName),nl,fail.
allPeopleOver40.