summaryrefslogtreecommitdiff
path: root/examples/attempto/Attempto.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-11-14 17:39:05 +0000
committeraarne <aarne@cs.chalmers.se>2008-11-14 17:39:05 +0000
commit6b4f9715e6acb87e05b8229bafd1f41d906e6409 (patch)
tree518851d83cee0d75283694f65ceddf671d299bc9 /examples/attempto/Attempto.gf
parentd5fa908250517476d69fae92ec7648a207007c0a (diff)
attempto almost complete to spec now
Diffstat (limited to 'examples/attempto/Attempto.gf')
-rw-r--r--examples/attempto/Attempto.gf18
1 files changed, 10 insertions, 8 deletions
diff --git a/examples/attempto/Attempto.gf b/examples/attempto/Attempto.gf
index c52ad2c29..546e525eb 100644
--- a/examples/attempto/Attempto.gf
+++ b/examples/attempto/Attempto.gf
@@ -24,6 +24,7 @@ cat IP ;
cat IAdv ;
cat QS ;
cat Text ;
+cat RP ;
fun aNP : CN -> NP ;
fun theNP : CN -> NP ;
@@ -81,12 +82,12 @@ fun they_NP : NP ;
-- reflexive pronouns: itself, himself, herself, himself/herself, themselves
-fun someone_NP : NP ;
+--fun someone_NP : NP ;
fun somebody_NP : NP ;
fun something_NP : NP ;
-fun noone_NP : NP ;
+--fun noone_NP : NP ;
fun nothing_NP : NP ;
-fun not_everyoneNP : NP ;
+--fun not_everyoneNP : NP ;
fun not_everybodyNP : NP ;
fun not_everythingNP : NP ;
@@ -127,13 +128,14 @@ fun relCN : CN -> RS -> CN ;
fun relNP : NP -> RS -> NP ;
fun andRS : RS -> RS -> RS ;
fun orRS : RS -> RS -> RS ;
-fun eachRS : RS -> RS ; -- each of who
fun suchCN : CN -> S -> CN ;
-fun predRS : VP -> RS ;
-fun slashRS : NP -> V2 -> RS ;
+fun predRS : RP -> VP -> RS ;
+fun slashRS : RP -> NP -> V2 -> RS ;
+fun which_RP : RP ;
+fun eachRP : RP ;
-- 2.2.4
@@ -191,8 +193,8 @@ fun coordS : Conj -> S -> S -> S ;
fun and_Conj : Conj ;
fun or_Conj : Conj ;
-fun comma_and_Conj : Conj ; -- lower precedence
-fun comma_or_Conj : Conj ;
+fun commaAnd_Conj : Conj ; -- lower precedence
+fun commaOr_Conj : Conj ;
-- 3.4.3