summaryrefslogtreecommitdiff
path: root/examples/stoneage/Stoneage.gf
diff options
context:
space:
mode:
authorbringert <unknown>2005-03-09 20:13:24 +0000
committerbringert <unknown>2005-03-09 20:13:24 +0000
commit2bbc7418eb18f1cde6ad43142e64ef35dc8c05c5 (patch)
tree1e14b1a66638902dac37e1b06c29996c21f3dd4c /examples/stoneage/Stoneage.gf
parente037fe087f5ebb90deab1624843d6d645749d5ac (diff)
Added this, that, conjunctions and giving to stoneage grammars.
Diffstat (limited to 'examples/stoneage/Stoneage.gf')
-rw-r--r--examples/stoneage/Stoneage.gf18
1 files changed, 14 insertions, 4 deletions
diff --git a/examples/stoneage/Stoneage.gf b/examples/stoneage/Stoneage.gf
index f4ba733d2..decf9e71b 100644
--- a/examples/stoneage/Stoneage.gf
+++ b/examples/stoneage/Stoneage.gf
@@ -7,6 +7,14 @@ cat
fun
+ -- Sentence conjunction
+
+ AndS : S -> S -> S ;
+
+ -- NP conjunction
+
+ AndNP : NP -> NP -> NP ;
+
-- Actions with an object
Drink : NP -> NP -> S ;
@@ -67,18 +75,20 @@ fun
Swell : NP -> S ;
Burn : NP -> S ;
+ -- Actions with an object and a recipient
+
+ Give : NP -> NP -> NP -> S ; -- subject object recipient
+
-- Say
-- FearThat
--- Give : NP -> NP -> NP -> S ;
-
-- Determiners
The_One : CN -> NP ;
The_Many : CN -> NP ;
A : CN -> NP ;
--- This : CN -> NP ;
--- That : CN -> NP ;
+ This : CN -> NP ;
+ That : CN -> NP ;
All : CN -> NP ;
Many : CN -> NP ;
Some_One : CN -> NP ;