mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-05 17:22:51 -06:00
resource-food example in tutorial
This commit is contained in:
16
doc/tutorial/resource-food/LexFoodFin.gf
Normal file
16
doc/tutorial/resource-food/LexFoodFin.gf
Normal file
@@ -0,0 +1,16 @@
|
||||
instance LexFoodFin of LexFood = open SyntaxFin, ParadigmsFin in {
|
||||
|
||||
oper
|
||||
wine_N = mkN "viini" ;
|
||||
beer_N = mkN "olut" ;
|
||||
pizza_N = mkN "pizza" ;
|
||||
cheese_N = mkN "juusto" ;
|
||||
fish_N = mkN "kala" ;
|
||||
fresh_A = mkA "tuore" ;
|
||||
warm_A = mkA "lämmin" ;
|
||||
italian_A = mkA "italialainen" ;
|
||||
expensive_A = mkA "kallis" ;
|
||||
delicious_A = mkA "herkullinen" ;
|
||||
boring_A = mkA "tylsä" ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user