summaryrefslogtreecommitdiff
path: root/examples/animals/Questions.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animals/Questions.gf')
-rw-r--r--examples/animals/Questions.gf10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/animals/Questions.gf b/examples/animals/Questions.gf
new file mode 100644
index 000000000..bb25e785d
--- /dev/null
+++ b/examples/animals/Questions.gf
@@ -0,0 +1,10 @@
+-- Simple questions and answers, in present tense.
+
+abstract Questions = {
+ cat
+ Phrase ; Entity ; Action ;
+ fun
+ Who : Action -> Entity -> Phrase ; -- who chases X
+ Whom : Entity -> Action -> Phrase ; -- whom does X chase
+ Answer : Entity -> Action -> Entity -> Phrase ; -- X chases Y
+}