mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
split the testsuite to different directories for compiler, runtime and libraries
This commit is contained in:
26
testsuite/runtime/paraphrase/City.gf
Normal file
26
testsuite/runtime/paraphrase/City.gf
Normal 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 ;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user