% defining grammar rule operator
:- op(1200,xfx,'--->').

% lexicon:
vp  ---> [left].
det ---> [the].
n   ---> [boy].
n   ---> [girl].

% syntactic rules:
s  ---> [np, vp]. 
np ---> [det, n].
