next up previous contents
Next: Grammar and Lexicon Up: Prolog implementation of syllable Previous: Prolog implementation of syllable

 

Utilities

%% Basic predicates (do not worry about the definitions at this stage):

%% Backtrack (go back and take the next choice):
backtrack :- fail.

%% Carry on after backtracking:
perform(X) :- call(X),!,fail.
perform(_).

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



Dafydd Gibbon
Fri Nov 28 02:24:58 MET 1997