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/FoodEng.gf | |
| parent | 064df9267c125a878c0f41c9ffb5ed373b02f927 (diff) | |
contents of new tutorial
Diffstat (limited to 'doc/tutorial-next/FoodEng.gf')
| -rw-r--r-- | doc/tutorial-next/FoodEng.gf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/tutorial-next/FoodEng.gf b/doc/tutorial-next/FoodEng.gf new file mode 100644 index 000000000..f75727292 --- /dev/null +++ b/doc/tutorial-next/FoodEng.gf @@ -0,0 +1,23 @@ +concrete FoodEng of Food = { + + lincat + S, Item, Kind, Quality = {s : Str} ; + + lin + Is item quality = {s = item.s ++ "is" ++ quality.s} ; + This kind = {s = "this" ++ kind.s} ; + That kind = {s = "that" ++ kind.s} ; + QKind quality kind = {s = quality.s ++ kind.s} ; + Wine = {s = "wine"} ; + Cheese = {s = "cheese"} ; + Fish = {s = "fish"} ; + Very quality = {s = "very" ++ quality.s} ; + Fresh = {s = "fresh"} ; + Warm = {s = "warm"} ; + Italian = {s = "Italian"} ; + Expensive = {s = "expensive"} ; + Delicious = {s = "delicious"} ; + Boring = {s = "boring"} ; + +} +
\ No newline at end of file |
