forked from GitHub/gf-core
complete RGL implementation for Mongolian by Nyamsuren Erdenebadrakh
This commit is contained in:
6
lib/src/api/CombinatorsMon.gf
Normal file
6
lib/src/api/CombinatorsMon.gf
Normal file
@@ -0,0 +1,6 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource CombinatorsMon = Combinators with
|
||||
(Cat = CatMon),
|
||||
(Structural = StructuralMon),
|
||||
(Constructors = ConstructorsMon) ;
|
||||
3
lib/src/api/ConstructorsMon.gf
Normal file
3
lib/src/api/ConstructorsMon.gf
Normal file
@@ -0,0 +1,3 @@
|
||||
--# -path=.:alltenses:prelude
|
||||
|
||||
resource ConstructorsMon = Constructors with (Grammar = GrammarMon) ;
|
||||
5
lib/src/api/SyntaxMon.gf
Normal file
5
lib/src/api/SyntaxMon.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:./alltenses:../prelude
|
||||
|
||||
instance SyntaxMon of Syntax =
|
||||
ConstructorsMon, CatMon, StructuralMon, CombinatorsMon ;
|
||||
|
||||
12
lib/src/api/TryMon.gf
Normal file
12
lib/src/api/TryMon.gf
Normal file
@@ -0,0 +1,12 @@
|
||||
--# -path=.:../mongolian:../common:../abstract:../prelude
|
||||
|
||||
resource TryMon = SyntaxMon, LexiconMon, ParadigmsMon -[mkAdv, mkDet,mkQuant,mkAdA,mkAdN,mkIDet,mkDet,mkNP,mkNum,mkPConj,mkRP,mkOrd]**
|
||||
open (P = ParadigmsMon) in {
|
||||
|
||||
oper
|
||||
|
||||
mkAdv = overload SyntaxMon {
|
||||
mkAdv : Str -> Adv = P.mkAdv ;
|
||||
} ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user