mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
case endings in Fin symbols: Nom is a special case, since there is no ending
This commit is contained in:
@@ -966,5 +966,13 @@ oper
|
||||
Abess => "tta"
|
||||
} ;
|
||||
|
||||
bindIf : Case -> Str = \c -> case c of {
|
||||
Nom => [] ;
|
||||
_ => BIND
|
||||
} ;
|
||||
bindColonIf : Case -> Str = \c -> case c of {
|
||||
Nom => [] ;
|
||||
_ => BIND ++ ":" ++ BIND
|
||||
} ;
|
||||
|
||||
}
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
concrete SymbolFin of Symbol = CatFin ** open Prelude, NounFin, ResFin, MorphoFin in {
|
||||
|
||||
lin
|
||||
SymbPN i = {s = \\c => i.s ++ BIND ++ defaultCaseEnding c} ; --- c
|
||||
IntPN i = {s = \\c => i.s ++ BIND ++ ":" ++ BIND ++ defaultCaseEnding c} ; --- c
|
||||
FloatPN i = {s = \\c => i.s ++ BIND ++ ":" ++ BIND ++ defaultCaseEnding c} ; --- c
|
||||
SymbPN i = {s = \\c => i.s ++ bindIf c ++ defaultCaseEnding c} ; --- c
|
||||
IntPN i = {s = \\c => i.s ++ bindColonIf c ++ defaultCaseEnding c} ; --- c
|
||||
FloatPN i = {s = \\c => i.s ++ bindColonIf c ++ defaultCaseEnding c} ; --- c
|
||||
NumPN i = {s = \\c => i.s!Sg!Nom } ; --- c
|
||||
|
||||
CNIntNP cn i = {
|
||||
|
||||
Reference in New Issue
Block a user