1
0
forked from GitHub/gf-rgl

refactoring to make it easier to add new conjuncts

This commit is contained in:
Krasimir Angelov
2018-09-09 14:10:16 +02:00
parent 790d4bc04a
commit 285bca2ef5
8 changed files with 60 additions and 62 deletions
+2 -6
View File
@@ -68,7 +68,7 @@ concrete CatBul of Cat = CommonX - [IAdv,AdV,SC] ** open ResBul, Prelude, Predef
-- Structural
Conj = {s : Str; distr : Bool; conj : Ints 4; n : Number} ;
Conj = {s : Str; sep : Ints 3; n : Number} ;
Subj = {s : Str} ;
Prep = {s : Str; c : Case} ;
@@ -126,11 +126,7 @@ concrete CatBul of Cat = CommonX - [IAdv,AdV,SC] ** open ResBul, Prelude, Predef
}
in linrefVP vp;
Conj = \conj -> let s = linCoord ! conj.conj
in case conj.distr of {
True => s ++ s;
False => s
} ;
Conj = \conj -> conj.s ;
V, VS, VQ, VA = \v -> linrefVP (predV v);
V2 = \v -> linrefVP (predV v) ++ linPrep v.c2 ;