mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-19 17:59:32 -06:00
chinese (Chi) in place and compiles, based on work by Jolene Zhuo Lin Qiqige
This commit is contained in:
6
lib/src/api/CombinatorsChi.gf
Normal file
6
lib/src/api/CombinatorsChi.gf
Normal file
@@ -0,0 +1,6 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource CombinatorsChi = Combinators with
|
||||
(Cat = CatChi),
|
||||
(Structural = StructuralChi),
|
||||
(Constructors = ConstructorsChi) ;
|
||||
3
lib/src/api/ConstructorsChi.gf
Normal file
3
lib/src/api/ConstructorsChi.gf
Normal file
@@ -0,0 +1,3 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource ConstructorsChi = Constructors with (Grammar = GrammarChi) ;
|
||||
5
lib/src/api/SymbolicChi.gf
Normal file
5
lib/src/api/SymbolicChi.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
resource SymbolicChi = Symbolic with
|
||||
(Symbol = SymbolChi),
|
||||
(Grammar = GrammarChi) ;
|
||||
5
lib/src/api/SyntaxChi.gf
Normal file
5
lib/src/api/SyntaxChi.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:./alltenses:../prelude
|
||||
|
||||
instance SyntaxChi of Syntax =
|
||||
ConstructorsChi, CatChi, StructuralChi, CombinatorsChi ;
|
||||
|
||||
12
lib/src/api/TryChi.gf
Normal file
12
lib/src/api/TryChi.gf
Normal file
@@ -0,0 +1,12 @@
|
||||
--# -path=.:alltenses
|
||||
|
||||
resource TryChi = SyntaxChi, LexiconChi, ParadigmsChi -[mkAdv, mkDet,mkQuant]**
|
||||
open (P = ParadigmsChi) in {
|
||||
|
||||
oper
|
||||
|
||||
mkAdv = overload SyntaxChi {
|
||||
mkAdv : Str -> Adv = P.mkAdv ;
|
||||
} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user