1
0
forked from GitHub/gf-rgl

(Pes) Add alternative insertCompPost; used in an application grammar

This commit is contained in:
Inari Listenmaa
2019-03-15 16:58:15 +01:00
parent 1192a93855
commit f174e92f70

View File

@@ -135,6 +135,10 @@ oper
comp = \\a => appComp vp.c2 (obj ! a) ++ vp.comp ! a
} ;
insertCompPost : (Agr=>Mod=>Str) -> VPHSlash -> VPH = \obj,vp -> vp ** {
comp = \\a => vp.comp ! a ++ appComp vp.c2 (obj ! a)
} ;
insertVV : VV -> VPH -> VPH = \vv,vp -> predV vv ** {
vComp = \\a,t => vp.vComp ! a ! t ++ complVV vv vp ! a ! t ;
vvType = case vv.isDef of {True => DefVV ; _ => FullVV} ;