summaryrefslogtreecommitdiff
path: root/examples/attempto/AttemptoI.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-11-15 20:08:09 +0000
committeraarne <aarne@cs.chalmers.se>2008-11-15 20:08:09 +0000
commitf30560efcc5acb39f8b9a4a5d0ea0482224a5fc1 (patch)
tree91f1e3b2a3044ee3531dcf4a799db427681c81b4 /examples/attempto/AttemptoI.gf
parent373b4d6828e0eba56e11cd5851591d303f369b43 (diff)
Attempto complete up to spec
Diffstat (limited to 'examples/attempto/AttemptoI.gf')
-rw-r--r--examples/attempto/AttemptoI.gf11
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/attempto/AttemptoI.gf b/examples/attempto/AttemptoI.gf
index 1dbdc448d..bad6dd342 100644
--- a/examples/attempto/AttemptoI.gf
+++ b/examples/attempto/AttemptoI.gf
@@ -1,6 +1,7 @@
incomplete concrete AttemptoI of Attempto = SymbolsC ** open
Syntax,
Symbolic,
+ Prelude,
LexAttempto
in {
@@ -64,7 +65,6 @@ lin ten_Card = mkCard n10_Numeral ;
lin pnNP = mkNP ;
lin intNP = symb ;
lin floatNP = symb ;
---lin intNegNP : Int -> NP ;
lin it_NP = mkNP it_Pron ;
lin he_NP = mkNP he_Pron ;
@@ -105,7 +105,7 @@ lin unit_ofMassNP ca u cn = mkNP (mkNP ca u) (mkAdv part_Prep (mkNP cn)) ;
lin apposVarCN cn v = mkCN cn (symb v) ;
-lin varNP x = symb x ;
+lin termNP x = symb (ss x.s) ;
-- 2.2.1
@@ -186,8 +186,8 @@ lin thereNP np = mkS (mkCl np) ;
-- 3.3
--- Boolean formulas = \= < > <= >=
+lin formulaS f = symb (ss f.s) ;
-- 3.4.1
@@ -233,9 +233,8 @@ lin when_IAdv = Syntax.when_IAdv ;
lin whoSg_IP = Syntax.whoSg_IP ;
lin whoPl_IP = Syntax.whoPl_IP ;
-
---lin there_ipQS : IP -> QS ; -- there is who
---lin whoseIP : CN -> IP ; -- whose dog
+lin there_ipQS ip = mkQS (mkQCl ip) ; ---- who is there, not there is who
+lin whoseIP = mkIP whose_IDet ;
-- 3.6