From 3e174603abf15a5875db512aa45ad78cd5a019e4 Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 3 Jul 2007 15:29:23 +0000 Subject: contents of new tutorial --- doc/tutorial-next/FoodEng.gf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/tutorial-next/FoodEng.gf (limited to 'doc/tutorial-next/FoodEng.gf') 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 -- cgit v1.2.3