forked from GitHub/gf-core
27 lines
482 B
Plaintext
27 lines
482 B
Plaintext
concrete MathEng of Math = CatEng ** open Prelude, ResEng in {
|
|
|
|
lin
|
|
SymbPN i = {s = \\c => i.s ; a = agrP3 Sg} ; --- c
|
|
IntPN i = {s = \\c => i.s ; a = agrP3 Sg} ; --- c
|
|
CNIntNP cn i = {
|
|
s = \\c => (cn.s ! Sg ! Nom ++ i.s) ;
|
|
a = agrP3 Sg
|
|
} ;
|
|
CNSymbNP det cn xs = {
|
|
s = \\c => det.s ++ cn.s ! det.n ! c ++ xs.s ;
|
|
a = agrP3 det.n
|
|
} ;
|
|
|
|
lincat
|
|
|
|
Symb, SymbList = SS ;
|
|
|
|
lin
|
|
|
|
MkSymb s = s ;
|
|
|
|
BaseSymb = infixSS "and" ;
|
|
ConsSymb = infixSS "," ;
|
|
|
|
}
|