forked from GitHub/gf-core
Ita in res
This commit is contained in:
5
examples/tutorial/resource-foods/FoodsIta.gf
Normal file
5
examples/tutorial/resource-foods/FoodsIta.gf
Normal file
@@ -0,0 +1,5 @@
|
||||
--# -path=.:../foods:present:prelude
|
||||
|
||||
concrete FoodsIta of Foods = FoodsI with
|
||||
(Syntax = SyntaxIta),
|
||||
(LexFoods = LexFoodsIta) ;
|
||||
15
examples/tutorial/resource-foods/LexFoodsIta.gf
Normal file
15
examples/tutorial/resource-foods/LexFoodsIta.gf
Normal file
@@ -0,0 +1,15 @@
|
||||
--# -path=.:../foods:present:prelude
|
||||
|
||||
instance LexFoodsIta of LexFoods = open SyntaxIta, ParadigmsIta in {
|
||||
oper
|
||||
wine_N = mkN "vino" ;
|
||||
pizza_N = mkN "pizza" ;
|
||||
cheese_N = mkN "formaggio" ;
|
||||
fish_N = mkN "pesce" ;
|
||||
fresh_A = mkA "fresco" ;
|
||||
warm_A = mkA "caldo" ;
|
||||
italian_A = mkA "italiano" ;
|
||||
expensive_A = mkA "caro" ;
|
||||
delicious_A = mkA "delizioso" ;
|
||||
boring_A = mkA "noioso" ;
|
||||
}
|
||||
Reference in New Issue
Block a user