1
0
forked from GitHub/gf-rgl
Files
gf-rgl/src/dutch/ExtendDut.gf
T
2018-06-15 13:14:53 +02:00

28 lines
755 B
Plaintext

--# -path=alltenses:../common:../abstract
concrete ExtendDut of Extend =
CatDut ** ExtendFunctor
- [PastPartAP,ICompAP,IAdvAdv]
with
(Grammar = GrammarDut) **
open
GrammarDut,
ResDut,
Coordination,
Prelude,
ParadigmsDut in {
lin
PastPartAP vp = { --# notpresent
s = \\agr,af => let aForm = case vp.isHeavy of { --# notpresent
True => APred ; --# notpresent
False => af } ; --# notpresent
in (infClause [] agr vp aForm).s ! Past ! Anter ! Pos ! Sub ; --# notpresent
isPre = notB vp.isHeavy ; --# notpresent
} ; --# notpresent
ICompAP ap = {s = \\agr => "hoe" ++ ap.s ! agr ! APred} ;
IAdvAdv adv = {s = "hoe" ++ adv.s} ;
}