mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
add the API modules for Romanian
This commit is contained in:
6
lib/src/api/CombinatorsRon.gf
Normal file
6
lib/src/api/CombinatorsRon.gf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
--# -path=.:alltenses:prelude
|
||||||
|
|
||||||
|
resource CombinatorsRon = Combinators with
|
||||||
|
(Cat = CatRon),
|
||||||
|
(Structural = StructuralRon),
|
||||||
|
(Constructors = ConstructorsRon) ;
|
||||||
3
lib/src/api/ConstructorsRon.gf
Normal file
3
lib/src/api/ConstructorsRon.gf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
--# -path=.:alltenses:prelude
|
||||||
|
|
||||||
|
resource ConstructorsRon = Constructors with (Grammar = GrammarRon) ;
|
||||||
5
lib/src/api/SyntaxRon.gf
Normal file
5
lib/src/api/SyntaxRon.gf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--# -path=.:alltenses:prelude
|
||||||
|
|
||||||
|
instance SyntaxRon of Syntax =
|
||||||
|
ConstructorsRon, CatRon, StructuralRon, CombinatorsRon ;
|
||||||
|
|
||||||
22
lib/src/api/TryRon.gf
Normal file
22
lib/src/api/TryRon.gf
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
--# -path=.:alltenses:prelude
|
||||||
|
|
||||||
|
resource TryRon = SyntaxRon-[mkAdN], LexiconRon, ParadigmsRon - [mkAdv,mkAdN,mkOrd] **
|
||||||
|
open (P = ParadigmsRon) in {
|
||||||
|
|
||||||
|
oper
|
||||||
|
|
||||||
|
mkAdv = overload SyntaxEng {
|
||||||
|
mkAdv : Str -> Adv = P.mkAdv ;
|
||||||
|
} ;
|
||||||
|
|
||||||
|
mkAdN = overload {
|
||||||
|
mkAdN : CAdv -> AdN = SyntaxEng.mkAdN ;
|
||||||
|
mkAdN : Str -> AdN = P.mkAdN ;
|
||||||
|
} ;
|
||||||
|
|
||||||
|
mkOrd = overload SyntaxEng {
|
||||||
|
mkOrd : Str -> Ord = P.mkOrd ;
|
||||||
|
} ;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
5
lib/src/romanian/AllRon.gf
Normal file
5
lib/src/romanian/AllRon.gf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
--# -path=.:../abstract:../common:../prelude
|
||||||
|
|
||||||
|
concrete AllRon of AllRonAbs =
|
||||||
|
LangRon
|
||||||
|
** {} ;
|
||||||
3
lib/src/romanian/AllRonAbs.gf
Normal file
3
lib/src/romanian/AllRonAbs.gf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
abstract AllRonAbs =
|
||||||
|
Lang
|
||||||
|
** {} ;
|
||||||
Reference in New Issue
Block a user