summaryrefslogtreecommitdiff
path: root/examples/animals/Animals.gf
blob: 33b56e74012b97616dd40d0fdb36c1b7d88d75f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- The Question grammar specialized to animals.

abstract Animals = Questions ** {

  flags startcat=Phrase ;

  fun
    -- a lexicon of animals and actions among them
    Dog, Cat, Mouse, Lion, Zebra : Entity ;
    Chase, Eat, See : Action ;
}