1
0
forked from GitHub/gf-core

moved paraphrases to examples/test/, meant for small grammars used for testing various aspects

This commit is contained in:
aarne
2008-10-14 11:20:44 +00:00
parent df08e52d5c
commit b862003c11
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
abstract City = {
cat S ; City ; Country ; Adj ;
data
PredIn : City -> Country -> S ;
fun
PredAdj : City -> Adj -> S ;
Capital : Country -> City ;
CountryAdj : Adj -> Country ;
data
Stockholm, Helsinki : City ;
Sweden, Finland : Country ;
Swedish, Finnish : Adj ;
def
PredAdj city x = PredIn city (CountryAdj x) ;
Capital Finland = Helsinki ;
Capital Sweden = Stockholm ;
CountryAdj Finnish = Finland ;
CountryAdj Swedish = Sweden ;
}