summaryrefslogtreecommitdiff
path: root/examples/attempto/Attempto.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-09-29 07:16:33 +0000
committeraarne <aarne@chalmers.se>2010-09-29 07:16:33 +0000
commitfe15579b31ae531437dfcb9f692ae8c8dbb7dcb6 (patch)
treef2fe1f4131242f0e8e87a079269933c33c9231af /examples/attempto/Attempto.gf
parent8fa5a507283c6d4bb12911202f551faa506c68aa (diff)
extended Attempto with some constructs
Diffstat (limited to 'examples/attempto/Attempto.gf')
-rw-r--r--examples/attempto/Attempto.gf23
1 files changed, 16 insertions, 7 deletions
diff --git a/examples/attempto/Attempto.gf b/examples/attempto/Attempto.gf
index e8e0f46b9..0020973ce 100644
--- a/examples/attempto/Attempto.gf
+++ b/examples/attempto/Attempto.gf
@@ -1,11 +1,12 @@
-abstract Attempto = Symbols ** {
+abstract Attempto =
+ Numeral, Symbols ** {
flags startcat = ACEText ;
cat CN ;
cat NP ;
cat Card ;
-cat Numeral ;
+---cat Numeral ;
cat PN ;
cat A ;
cat A2 ;
@@ -54,10 +55,10 @@ fun noMassNP : MCN -> NP ;
fun allMassNP : MCN -> NP ;
fun notAllMassNP : MCN -> NP ;
-fun one_Card : Card ;
-fun two_Card : Card ;
-fun five_Card : Card ;
-fun ten_Card : Card ;
+---fun one_Card : Card ;
+---fun two_Card : Card ;
+---fun five_Card : Card ;
+---fun ten_Card : Card ;
fun pnNP : PN -> NP ;
@@ -234,7 +235,7 @@ fun whoseIP : CN -> IP ; -- whose dog
-- 3.6
-fun impVP : NP -> VP -> Text ; -- John, go to the bank!
+fun np_impVP : NP -> VP -> Text ; -- John, go to the bank!
-- 4
@@ -246,6 +247,14 @@ fun baseText : Text -> ACEText ;
fun sText : S -> Text ;
fun qsText : QS -> Text ;
+-- more
+
+fun npVP : NP -> VP ; -- is a bank
+fun impVP : VP -> Text ; -- go to the bank!
+fun numeralCard : Numeral -> Card ; -- fifteen banks
+fun digitsCard : Digits -> Card ; -- 8 banks
+fun have_V2 : V2 ; -- has (an apple)
+
}