French conj

This commit is contained in:
aarne
2006-01-23 10:54:49 +00:00
parent 5c50cbe5ca
commit 29b47a37c9
7 changed files with 41 additions and 22 deletions

View File

@@ -42,6 +42,10 @@ param
PronGen = PGen Gender | PNoGen ;
-- Cardinal numerals have gender, ordinal numerals have full number as well.
CardOrd = NCard Gender | NOrd Gender Number ;
-- The following coercions are useful:
oper
@@ -59,6 +63,19 @@ oper
AF _ n => n ;
_ => Sg -- "le plus lentement"
} ;
conjGender : Gender -> Gender -> Gender = \m,n ->
case <m,n> of {
<Fem,Fem> => Fem ;
_ => Fem
} ;
conjAgr : Agr -> Agr -> Agr = \a,b -> {
g = conjGender a.g b.g ;
n = conjNumber a.n b.n ;
p = conjPerson a.p b.p
} ;
--3 Verbs
--