skip the compilation of InflectionCl for Present

This commit is contained in:
Krasimir Angelov
2026-09-07 16:10:44 +02:00
parent c97cbb530c
commit 0a197ec126
3 changed files with 30 additions and 1 deletions
+5 -1
View File
@@ -1,4 +1,3 @@
--# -path=.:../abstract:../common
concrete DocumentationBul of Documentation = CatBul ** open concrete DocumentationBul of Documentation = CatBul ** open
ResBul, Prelude, ParamX, HTML in { ResBul, Prelude, ParamX, HTML in {
flags coding=utf8 ; flags coding=utf8 ;
@@ -181,6 +180,8 @@ lin
s3= "" s3= ""
} ; } ;
{-
-} --# notpresent
InflectionCl = \cl -> { InflectionCl = \cl -> {
t = "изр" ; t = "изр" ;
s1 = heading1 ("Изречение") ; s1 = heading1 ("Изречение") ;
@@ -286,6 +287,9 @@ lin
s3 = "" s3 = ""
} ; } ;
{- --# notpresent
-}
InflectionV v = { InflectionV v = {
t = "гл" ; t = "гл" ;
s1= heading1 ("Глагол") ++ s1= heading1 ("Глагол") ++
+13
View File
@@ -111,6 +111,9 @@ lin
s3= "" s3= ""
} ; } ;
{-
-} --# notpresent
InflectionCl = \cl -> { InflectionCl = \cl -> {
t = "cl" ; t = "cl" ;
s1 = heading1 "Clause" ; s1 = heading1 "Clause" ;
@@ -126,6 +129,9 @@ lin
) )
} ; } ;
{- --# notpresent
-}
InflectionV v = { InflectionV v = {
t = "v" ; t = "v" ;
s1= heading1 "Verb" ++ s1= heading1 "Verb" ++
@@ -242,6 +248,10 @@ lin
} ; } ;
oper oper
{-
-} --# notpresent
inflClauseTense : Str -> Str -> ResEng.Tense -> Cl -> Str = \simple,perfect,tense,cl -> inflClauseTense : Str -> Str -> ResEng.Tense -> Cl -> Str = \simple,perfect,tense,cl ->
tr (intagAttr "th" "rowspan=\"2\"" simple ++ tr (intagAttr "th" "rowspan=\"2\"" simple ++
td (cl.s ! tense ! Simul ! CPos ! ODir False) ++ td (cl.s ! tense ! Simul ! CPos ! ODir False) ++
@@ -254,6 +264,9 @@ oper
td (cl.s ! tense ! Anter ! CNeg True ! ODir False) ++ td (cl.s ! tense ! Anter ! CNeg True ! ODir False) ++
td (cl.s ! tense ! Anter ! CNeg True ! OQuest)) ; td (cl.s ! tense ! Anter ! CNeg True ! OQuest)) ;
{- --# notpresent
-}
inflVerb : Verb -> Str = \verb -> inflVerb : Verb -> Str = \verb ->
frameTable ( frameTable (
tr (th "infinitive" ++ td (verb.s ! VInf)) ++ tr (th "infinitive" ++ td (verb.s ! VInf)) ++
+12
View File
@@ -134,6 +134,9 @@ lin
s2 = paragraph (S.mkAdv (lin Prep p) (S.mkNP S.a_Det L.computer_N)).s s2 = paragraph (S.mkAdv (lin Prep p) (S.mkNP S.a_Det L.computer_N)).s
} ; } ;
{-
-} --# notpresent
InflectionCl = \cl -> { InflectionCl = \cl -> {
t = "satz" ; t = "satz" ;
s1 = heading1 "Satz" ; s1 = heading1 "Satz" ;
@@ -157,6 +160,9 @@ lin
) )
} ; } ;
{- --# notpresent
-}
InflectionV v = { InflectionV v = {
t = "v" ; t = "v" ;
s1 = heading1 (heading verb_Category) ++ s1 = heading1 (heading verb_Category) ++
@@ -237,6 +243,9 @@ lin
MkTag i = ss i.t ; MkTag i = ss i.t ;
oper oper
{-
-} --# notpresent
inflClauseTense : Str -> Str -> ResGer.Tense -> Cl -> Str = \simple,perfect,tense,cl -> inflClauseTense : Str -> Str -> ResGer.Tense -> Cl -> Str = \simple,perfect,tense,cl ->
tr (intagAttr "th" "rowspan=2" simple ++ tr (intagAttr "th" "rowspan=2" simple ++
td (cl.s ! MIndic ! tense ! Simul ! Pos ! Main) ++ td (cl.s ! MIndic ! tense ! Simul ! Pos ! Main) ++
@@ -249,6 +258,9 @@ oper
td (cl.s ! MIndic ! tense ! Anter ! Neg ! Main) ++ td (cl.s ! MIndic ! tense ! Anter ! Neg ! Main) ++
td (cl.s ! MIndic ! tense ! Anter ! Neg ! Inv)) ; td (cl.s ! MIndic ! tense ! Anter ! Neg ! Inv)) ;
{- --# notpresent
-}
verbExample : CatGer.Cl -> Str = \cl -> verbExample : CatGer.Cl -> Str = \cl ->
(S.mkUtt cl).s (S.mkUtt cl).s
++ ";" ++ (S.mkUtt (S.mkS S.anteriorAnt cl)).s --# notpresent ++ ";" ++ (S.mkUtt (S.mkS S.anteriorAnt cl)).s --# notpresent