1
0
forked from GitHub/gf-rgl

added more functions in Extend

This commit is contained in:
Krasimir Angelov
2018-06-23 22:47:02 +02:00
parent 8cfc229164
commit 5f2d520e30
3 changed files with 43 additions and 4 deletions

View File

@@ -57,7 +57,11 @@ concrete ExtendEng of Extend =
s = \\t,a,p,_ => slash.s ! t ! a ! p ! oDir ++ slash.c2 ;
c = NPAcc
} ;
DetNPFem det = {
s = det.sp ;
a = agrgP3 det.n Fem
} ;
lincat
VPS = {s : Agr => Str} ;
@@ -314,9 +318,12 @@ concrete ExtendEng of Extend =
Cons_rr_RNP x xs = consrTable Agr comma x xs ;
Cons_nr_RNP x xs = consrTable Agr comma {s = \\a => x.s ! NPAcc} xs ;
lin
ApposNP np1 np2 = {s = \\c => np1.s ! c ++ comma ++ np2.s ! c; a = np1.a} ;
---- TODO: RNPList construction
lin
ComplGenVV v a p vp = insertObj (\\agr => a.s ++ p.s ++
infVP v.typ vp a.a p.p agr)
(predVV v) ;