diff options
| author | aarne <aarne@cs.chalmers.se> | 2007-07-03 15:29:23 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2007-07-03 15:29:23 +0000 |
| commit | 3e174603abf15a5875db512aa45ad78cd5a019e4 (patch) | |
| tree | c605cbf35d3ff84e8de7ecaff4a595ea6b4eea83 /doc/tutorial-next/FoodIta.gf | |
| parent | 064df9267c125a878c0f41c9ffb5ed373b02f927 (diff) | |
contents of new tutorial
Diffstat (limited to 'doc/tutorial-next/FoodIta.gf')
| -rw-r--r-- | doc/tutorial-next/FoodIta.gf | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/tutorial-next/FoodIta.gf b/doc/tutorial-next/FoodIta.gf new file mode 100644 index 000000000..5c565037a --- /dev/null +++ b/doc/tutorial-next/FoodIta.gf @@ -0,0 +1,22 @@ +concrete FoodIta of Food = { + + lincat + S, Item, Kind, Quality = {s : Str} ; + + lin + Is item quality = {s = item.s ++ "è" ++ quality.s} ; + This kind = {s = "questo" ++ kind.s} ; + That kind = {s = "quello" ++ kind.s} ; + QKind quality kind = {s = kind.s ++ quality.s} ; + Wine = {s = "vino"} ; + Cheese = {s = "formaggio"} ; + Fish = {s = "pesce"} ; + Very quality = {s = "molto" ++ quality.s} ; + Fresh = {s = "fresco"} ; + Warm = {s = "caldo"} ; + Italian = {s = "italiano"} ; + Expensive = {s = "caro"} ; + Delicious = {s = "delizioso"} ; + Boring = {s = "noioso"} ; + +} |
