summaryrefslogtreecommitdiff
path: root/examples/animals/Animals.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animals/Animals.gf')
-rw-r--r--examples/animals/Animals.gf12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/animals/Animals.gf b/examples/animals/Animals.gf
new file mode 100644
index 000000000..33b56e740
--- /dev/null
+++ b/examples/animals/Animals.gf
@@ -0,0 +1,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 ;
+}
+