1
0
forked from GitHub/gf-rgl

made AllDut import ExtendDut

This commit is contained in:
Aarne Ranta
2018-04-25 10:46:40 +02:00
parent 2de326e8a3
commit db1ecda1f6
4 changed files with 13 additions and 12 deletions

View File

@@ -2,8 +2,8 @@
concrete AllDut of AllDutAbs =
LangDut,
IrregDut,
ExtraDut
IrregDut
, ExtendDut
**
{
--{} ;

View File

@@ -3,7 +3,7 @@
abstract AllDutAbs =
Lang,
IrregDutAbs,
ExtraDutAbs
Extend -- ExtraDutAbs
**
{
--{} ;

View File

@@ -34,7 +34,7 @@ concrete CatDut of Cat =
-- Verb
VP = ResDut.VP ;
VPSlash = ResDut.VP ** {c2 : Preposition * Bool} ;
VPSlash = ResDut.VP ** {c2 : Preposition * Bool} ; -- False = empty prep
Comp = {s : Agr => Str} ;
-- Adjective

View File

@@ -11,14 +11,15 @@ concrete ExtendDut of Extend =
Coordination,
Prelude,
ParadigmsDut in {
lin
PastPartAP vp = {
s = \\agr,af => let aForm = case vp.isHeavy of {
True => APred ;
False => af } ;
in (infClause [] agr vp aForm).s ! Past ! Anter ! Pos ! Sub ;
isPre = notB vp.isHeavy ;
} ;
lin --# notpresent
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
}