diff options
| author | aarne <aarne@cs.chalmers.se> | 2007-09-02 21:04:24 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2007-09-02 21:04:24 +0000 |
| commit | c99fdc5f79b722209b7064a29224251a1e61f0d9 (patch) | |
| tree | fa3ac7d7e9796997f8a5d72f0818cb237759d73a /examples/tutorial | |
| parent | 2ad038e20448198dce182e58ed999a6e35293ba7 (diff) | |
Ita in res
Diffstat (limited to 'examples/tutorial')
| -rw-r--r-- | examples/tutorial/resource-foods/FoodsIta.gf | 5 | ||||
| -rw-r--r-- | examples/tutorial/resource-foods/LexFoodsIta.gf | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/examples/tutorial/resource-foods/FoodsIta.gf b/examples/tutorial/resource-foods/FoodsIta.gf new file mode 100644 index 000000000..7158d77f9 --- /dev/null +++ b/examples/tutorial/resource-foods/FoodsIta.gf @@ -0,0 +1,5 @@ +--# -path=.:../foods:present:prelude + +concrete FoodsIta of Foods = FoodsI with + (Syntax = SyntaxIta), + (LexFoods = LexFoodsIta) ; diff --git a/examples/tutorial/resource-foods/LexFoodsIta.gf b/examples/tutorial/resource-foods/LexFoodsIta.gf new file mode 100644 index 000000000..be120a24e --- /dev/null +++ b/examples/tutorial/resource-foods/LexFoodsIta.gf @@ -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" ; +} |
