Latvian api/ modules, and an entry in lib/src/Make.hs; api not yet compilable

This commit is contained in:
aarne
2011-11-09 08:41:26 +00:00
parent 77369531ae
commit edb8bd6b16
5 changed files with 39 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
--# -path=.:alltenses:prelude
resource CombinatorsLav = Combinators with
(Cat = CatLav),
(Structural = StructuralLav),
(Constructors = ConstructorsLav) ;

View File

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

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

@@ -0,0 +1,5 @@
--# -path=.:alltenses:prelude
instance SyntaxLav of Syntax =
ConstructorsLav, CatLav, StructuralLav, CombinatorsLav ;

22
lib/src/api/TryLav.gf Normal file
View File

@@ -0,0 +1,22 @@
--# -path=.:alltenses:prelude
resource TryLav = SyntaxLav-[mkAdN], LexiconLav, ParadigmsLav - [mkAdv,mkAdN,mkOrd,mkQuant] **
open (P = ParadigmsLav) in {
oper
mkAdv = overload SyntaxLav {
mkAdv : Str -> Adv = P.mkAdv ;
} ;
mkAdN = overload {
mkAdN : CAdv -> AdN = SyntaxLav.mkAdN ;
mkAdN : Str -> AdN = P.mkAdN ;
} ;
mkOrd = overload SyntaxLav {
mkOrd : Str -> Ord = P.mkOrd ;
} ;
}