mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-19 08:02:51 -06:00
35 lines
973 B
Plaintext
35 lines
973 B
Plaintext
concrete ExtraEng of ExtraEngAbs = CatEng ** open ResEng, Prelude in {
|
|
|
|
lin
|
|
GenNP np = {s = \\_ => np.s ! Gen} ;
|
|
ComplBareVS v s = insertObj (\\_ => s.s) (predV v) ;
|
|
|
|
StrandRelSlash rp slash = {
|
|
s = \\t,a,p,_ => rp.s ! RC Acc ++ slash.s ! t ! a ! p ! ODir ++ slash.c2 ;
|
|
c = Acc
|
|
} ;
|
|
EmptyRelSlash rp slash = {
|
|
s = \\t,a,p,_ => slash.s ! t ! a ! p ! ODir ++ slash.c2 ;
|
|
c = Acc
|
|
} ;
|
|
|
|
StrandQuestSlash ip slash =
|
|
{s = \\t,a,b,q =>
|
|
(mkQuestion (ss (ip.s ! Acc)) slash).s ! t ! a ! b ! q ++ slash.c2
|
|
};
|
|
|
|
UncNegCl t a cl = {s = t.s ++ a.s ++ cl.s ! t.t ! a.a ! neg ! ODir} ;
|
|
UncNegQCl t a cl = {s = \\q => t.s ++ a.s ++ cl.s ! t.t ! a.a ! neg !q} ;
|
|
UncNegRCl t a cl = {
|
|
s = \\r => t.s ++ a.s ++ cl.s ! t.t ! a.a ! neg ! r ;
|
|
c = cl.c
|
|
} ;
|
|
UncNegImpSg imp = {s = imp.s ! neg ! Sg} ;
|
|
UncNegImpPl imp = {s = imp.s ! neg ! Pl} ;
|
|
|
|
|
|
oper
|
|
neg = CNeg False ;
|
|
|
|
}
|