diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-10-06 12:49:13 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-10-06 12:49:13 +0000 |
| commit | e765b97fc483d5e737794a0aa90890ab2a1b2028 (patch) | |
| tree | e3b558ba236ae9797ceb9be4e06c514abac81890 /next-lib/src/romance | |
| parent | 394050d9f7d90f5b7a5905175bd51733048bf481 (diff) | |
simplified 1.5 by removing mathematical/
Diffstat (limited to 'next-lib/src/romance')
| -rw-r--r-- | next-lib/src/romance/SymbolRomance.gf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/next-lib/src/romance/SymbolRomance.gf b/next-lib/src/romance/SymbolRomance.gf new file mode 100644 index 000000000..64b4e1a34 --- /dev/null +++ b/next-lib/src/romance/SymbolRomance.gf @@ -0,0 +1,41 @@ +incomplete concrete SymbolRomance of Symbol = + CatRomance ** open Prelude, CommonRomance, ResRomance in { + +lin + SymbPN i = {s = i.s ; g = Masc} ; + IntPN i = {s = i.s ; g = Masc} ; + FloatPN i = {s = i.s ; g = Masc} ; + NumPN i = {s = i.s!Masc ; g = Masc} ; + + CNIntNP cn i = { + s = \\c => cn.s ! Sg ++ i.s ; + a = agrP3 cn.g Sg ; + hasClit = False + } ; + CNSymbNP det cn xs = let g = cn.g in { + s = \\c => det.s ! g ! npform2case c ++ cn.s ! det.n ++ xs.s ; + a = agrP3 g det.n ; + hasClit = False + } ; + CNNumNP cn i = { + s = \\c => artDef cn.g Sg (npform2case c) ++ cn.s ! Sg ++ i.s ! Masc ; + a = agrP3 cn.g Sg ; + hasClit = False + } ; + SymbS sy = {s = \\_ => sy.s} ; + + SymbNum n = {s = \\_ => n.s ; isNum = True ; n = Pl} ; + SymbOrd n = {s = \\_ => n.s ++ "."} ; --- + +lincat + + Symb, [Symb] = SS ; + +lin + + MkSymb s = s ; + + BaseSymb = infixSS "et" ; ---- + ConsSymb = infixSS "," ; + +} |
