mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
took tense linearizations apart from Common/Cat to Tense, for bettter structure of lib
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
--# -path=.:../Romance:../common:../abstract:../common:prelude
|
||||
|
||||
concrete CatRon of Cat =
|
||||
CommonX - [CAdv,Temp,TTAnt,Tense,TPres,TPast,TFut,TCond]
|
||||
CommonX - [CAdv,Temp,Tense]
|
||||
** open Prelude, ResRon, MorphoRon,(R = ParamX) in {
|
||||
|
||||
flags optimize=all_subs ;
|
||||
@@ -136,15 +136,6 @@ concrete CatRon of Cat =
|
||||
|
||||
Tense = {s : Str ; t : RTense} ;
|
||||
|
||||
lin
|
||||
TTAnt t a = {s = a.s ++ t.s ; a = a.a ; t = t.t} ;
|
||||
TPres = {s = []} ** {t = RPres} ;
|
||||
TPast = {s = []} ** {t = RPast} ; --# notpresent
|
||||
TFut = {s = []} ** {t = RFut} ; --# notpresent
|
||||
TCond = {s = []} ** {t = RCond} ; --# notpresent
|
||||
|
||||
|
||||
|
||||
|
||||
oper
|
||||
aagr : Gender -> Number -> AAgr = \g,n ->
|
||||
|
||||
@@ -12,9 +12,10 @@ concrete GrammarRon of Grammar =
|
||||
RelativeRon,
|
||||
ConjunctionRon,
|
||||
PhraseRon,
|
||||
TextX - [CAdv,Temp,TTAnt,Tense,TPres,TPast,TFut,TCond],
|
||||
TextX - [CAdv,Temp,Tense],
|
||||
Prelude, MorphoRon, Coordination,
|
||||
StructuralRon
|
||||
StructuralRon,
|
||||
TenseRon
|
||||
** {
|
||||
|
||||
flags startcat = Phr ; unlexer = text ; lexer = text ;
|
||||
|
||||
11
lib/src/romanian/TenseRon.gf
Normal file
11
lib/src/romanian/TenseRon.gf
Normal file
@@ -0,0 +1,11 @@
|
||||
concrete TenseRon of Tense =
|
||||
CatRon [Tense,Temp], TenseX [Ant,Pol,AAnter,ASimul,PNeg,PPos] ** open ResRon in {
|
||||
|
||||
lin
|
||||
TTAnt t a = {s = a.s ++ t.s ; a = a.a ; t = t.t} ;
|
||||
TPres = {s = []} ** {t = RPres} ;
|
||||
TPast = {s = []} ** {t = RPast} ; --# notpresent
|
||||
TFut = {s = []} ** {t = RFut} ; --# notpresent
|
||||
TCond = {s = []} ** {t = RCond} ; --# notpresent
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user