mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-21 02:39:31 -06:00
37 lines
589 B
Plaintext
37 lines
589 B
Plaintext
--# -path=.:../abstract:../common
|
|
|
|
concrete SymbolChi of Symbol = CatChi ** open Prelude, ResChi in {
|
|
|
|
flags coding = utf8;
|
|
|
|
lin
|
|
SymbPN i = i ;
|
|
IntPN i = i ;
|
|
FloatPN i = i ;
|
|
NumPN i = i ;
|
|
CNIntNP cn i = {
|
|
s = cn.s ++ i.s ;
|
|
c = cn.c
|
|
} ;
|
|
CNSymbNP det cn xs = ss (det.s ++ cn.s ++ xs.s) ; ----
|
|
CNNumNP cn i = {
|
|
s = cn.s ++ i.s ;
|
|
c = cn.c
|
|
} ;
|
|
|
|
SymbS sy = sy ;
|
|
SymbNum sy = sy ;
|
|
SymbOrd sy = sy ;
|
|
|
|
lincat
|
|
|
|
Symb, [Symb] = SS ;
|
|
|
|
lin
|
|
MkSymb s = s ;
|
|
|
|
BaseSymb = infixSS "" ;
|
|
ConsSymb = infixSS "" ;
|
|
|
|
}
|