summaryrefslogtreecommitdiff
path: root/next-lib/src/latin/SymbolLat.gf
blob: c1572616c61c59ab82a8b7cb5da894ea436e3794 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--concrete SymbolLat of Symbol = CatLat ** open Prelude, ResLat in {
--
--lin
--  SymbPN i = {s = \\c => i.s ; g = Neutr} ; --- c
--  IntPN i  = {s = \\c => i.s ; g = Neutr} ; --- c
--  FloatPN i = {s = \\c => i.s ; g = Neutr} ; --- c
--  NumPN i = {s = \\c => i.s ; g = Neutr} ; --- c
--  CNIntNP cn i = {
--    s = \\c => (cn.s ! Sg ! Nom ++ i.s) ;
--    a = agrgP3 Sg cn.g
--    } ;
--  CNSymbNP det cn xs = {
--    s = \\c => det.s ++ cn.s ! det.n ! c ++ xs.s ; 
--    a = agrgP3 det.n cn.g
--    } ;
--  CNNumNP cn i = {
--    s = \\c => (cn.s ! Sg ! Nom ++ i.s) ;
--    a = agrgP3 Sg cn.g
--    } ;
--
--  SymbS sy = sy ; 
--
--  SymbNum sy = {s = sy.s ; n = Pl ; hasCard = True} ;
--  SymbOrd sy = {s = sy.s ++ "th"} ;
--
--lincat 
--
--  Symb, [Symb] = SS ;
--
--lin
--
--  MkSymb s = s ;
--
--  BaseSymb = infixSS "and" ;
--  ConsSymb = infixSS "," ;
--
--}