summaryrefslogtreecommitdiff
path: root/next-lib/src/romance/AdjectiveRomance.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-10-03 20:42:09 +0000
committeraarne <aarne@cs.chalmers.se>2008-10-03 20:42:09 +0000
commit24207d40e9cb56173de22d9a424975f0da0bc416 (patch)
tree2c221dc4e6f9f7a4d665fe118e0cda12d3ea7290 /next-lib/src/romance/AdjectiveRomance.gf
parent27de3c0e7b13a4674cf5829ccbb00b118e916ae8 (diff)
extended AP with Ord and compar in 1.5
Diffstat (limited to 'next-lib/src/romance/AdjectiveRomance.gf')
-rw-r--r--next-lib/src/romance/AdjectiveRomance.gf16
1 files changed, 15 insertions, 1 deletions
diff --git a/next-lib/src/romance/AdjectiveRomance.gf b/next-lib/src/romance/AdjectiveRomance.gf
index 5ff9babb0..eec0783a7 100644
--- a/next-lib/src/romance/AdjectiveRomance.gf
+++ b/next-lib/src/romance/AdjectiveRomance.gf
@@ -11,6 +11,17 @@ incomplete concrete AdjectiveRomance of Adjective =
s = \\af => a.s ! Compar ! af ++ conjThan ++ np.s ! Ton Nom ;
isPre = False
} ;
+ UseComparA a = {
+ s = \\af => a.s ! Compar ! af ;
+ isPre = a.isPre
+ } ;
+ AdjOrd ord = {
+ s = \\af => ord.s ! (case af of {
+ AF g n => aagr g n ;
+ _ => aagr Masc Sg ----
+ }) ;
+ isPre = False ----
+ } ;
-- $SuperlA$ belongs to determiner syntax in $Noun$.
@@ -36,6 +47,9 @@ incomplete concrete AdjectiveRomance of Adjective =
isPre = ap.isPre
} ;
- UseA2 a = a ** {isPre = False} ;
+ UseA2 a = {
+ s = a.s ! Posit ;
+ isPre = False ---- A2 has no isPre
+ } ;
}