chinese (Chi) in place and compiles, based on work by Jolene Zhuo Lin Qiqige

This commit is contained in:
aarne
2012-10-15 08:07:17 +00:00
parent 1db0efc7a4
commit 754949f5cc
32 changed files with 1920 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
--# -path=.:alltenses:prelude
resource CombinatorsChi = Combinators with
(Cat = CatChi),
(Structural = StructuralChi),
(Constructors = ConstructorsChi) ;

View File

@@ -0,0 +1,3 @@
--# -path=.:alltenses:prelude
resource ConstructorsChi = Constructors with (Grammar = GrammarChi) ;

View File

@@ -0,0 +1,5 @@
--# -path=.:alltenses
resource SymbolicChi = Symbolic with
(Symbol = SymbolChi),
(Grammar = GrammarChi) ;

5
lib/src/api/SyntaxChi.gf Normal file
View File

@@ -0,0 +1,5 @@
--# -path=.:./alltenses:../prelude
instance SyntaxChi of Syntax =
ConstructorsChi, CatChi, StructuralChi, CombinatorsChi ;

12
lib/src/api/TryChi.gf Normal file
View 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 ;
} ;
}