1
0
forked from GitHub/gf-rgl

(Dut) Extend vs. Extra

This commit is contained in:
Inari Listenmaa
2018-06-15 13:14:53 +02:00
parent 58eda09255
commit 8ebf00005f
2 changed files with 9 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
concrete ExtendDut of Extend =
CatDut ** ExtendFunctor
- [PastPartAP]
- [PastPartAP,ICompAP,IAdvAdv]
with
(Grammar = GrammarDut) **
open
@@ -12,7 +12,7 @@ concrete ExtendDut of Extend =
Prelude,
ParadigmsDut in {
lin --# notpresent
lin
PastPartAP vp = { --# notpresent
s = \\agr,af => let aForm = case vp.isHeavy of { --# notpresent
@@ -22,4 +22,7 @@ lin --# notpresent
isPre = notB vp.isHeavy ; --# notpresent
} ; --# notpresent
}
ICompAP ap = {s = \\agr => "hoe" ++ ap.s ! agr ! APred} ;
IAdvAdv adv = {s = "hoe" ++ adv.s} ;
}

View File

@@ -1,5 +1,5 @@
concrete ExtraDut of ExtraDutAbs = CatDut **
open ResDut, Coordination, Prelude, IrregDut, (P = ParadigmsDut), NounDut in
open ResDut, Coordination, Prelude, IrregDut, (P = ParadigmsDut), (E=ExtendDut), NounDut in
{
flags coding=utf8 ;
@@ -19,9 +19,9 @@ concrete ExtraDut of ExtraDutAbs = CatDut **
predVGen v.isAux BeforeObjs v) ; ----
lin
ICompAP ap = {s = \\agr => "hoe" ++ ap.s ! agr ! APred} ;
ICompAP = E.ICompAP ;
IAdvAdv adv = {s = "hoe" ++ adv.s} ;
IAdvAdv = E.IAdvAdv ;
lincat
VPS = {s : Order => Agr => Str} ;