improved final-resource

This commit is contained in:
aarne
2006-06-13 14:40:12 +00:00
parent 876c3389d2
commit faeb1125a3
14 changed files with 351 additions and 216 deletions

View File

@@ -0,0 +1,9 @@
abstract Music = {
cat
Kind ;
Property ;
fun
PropKind : Kind -> Property -> Kind ;
Song : Kind ;
American : Property ;
}

View File

@@ -0,0 +1,7 @@
--# -path=.:present:prelude
concrete MusicEng of Music = MusicEng0 - [PropKind] ** open GrammarEng in {
lin
PropKind k p =
RelCN k (UseRCl TPres ASimul PPos (RelVP IdRP (UseComp (CompAP p)))) ;
}

View File

@@ -0,0 +1,3 @@
concrete MusicEng0 of Music = MusicI with
(Grammar = GrammarEng),
(MusicLex = MusicLexEng) ;

View File

@@ -0,0 +1,5 @@
--# -path=.:present:prelude
concrete MusicFin of Music = MusicI with
(Grammar = GrammarFin),
(MusicLex = MusicLexFin) ;

View File

@@ -0,0 +1,6 @@
--# -path=.:present:prelude
concrete MusicFre of Music = MusicI with
(Grammar = GrammarFre),
(MusicLex = MusicLexFre) ;

View File

@@ -0,0 +1,6 @@
--# -path=.:present:prelude
concrete MusicGer of Music = MusicI with
(Grammar = GrammarGer),
(MusicLex = MusicLexGer) ;

View File

@@ -0,0 +1,9 @@
incomplete concrete MusicI of Music = open Grammar, MusicLex in {
lincat
Kind = CN ;
Property = AP ;
lin
PropKind k p = AdjCN p k ;
Song = UseN song_N ;
American = PositA american_A ;
}

View File

@@ -0,0 +1,5 @@
abstract MusicLex = Cat ** {
fun
song_N : N ;
american_A : A ;
}

View File

@@ -0,0 +1,5 @@
concrete MusicLexEng of MusicLex = CatEng ** open ParadigmsEng in {
lin
song_N = regN "song" ;
american_A = regA "American" ;
}

View File

@@ -0,0 +1,6 @@
concrete MusicLexFin of MusicLex = CatFin ** open ParadigmsFin in {
lin
song_N = regN "kappale" ;
american_A = regA "amerikkalainen" ;
}

View File

@@ -0,0 +1,5 @@
concrete MusicLexFre of MusicLex = CatFre ** open ParadigmsFre in {
lin
song_N = regGenN "chanson" feminine ;
american_A = regA "américain" ;
}

View File

@@ -0,0 +1,5 @@
concrete MusicLexGer of MusicLex = CatGer ** open ParadigmsGer in {
lin
song_N = reg2N "Lied" "Lieder" neuter ;
american_A = regA "amerikanisch" ;
}