From 6398140d0ac21ad05a0c595b77007631cd5e1265 Mon Sep 17 00:00:00 2001 From: aarne Date: Sun, 18 Dec 2005 21:26:21 +0000 Subject: new tutorial example --- doc/tutorial/Food2Eng.gf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/tutorial/Food2Eng.gf (limited to 'doc/tutorial/Food2Eng.gf') diff --git a/doc/tutorial/Food2Eng.gf b/doc/tutorial/Food2Eng.gf new file mode 100644 index 000000000..a92e426eb --- /dev/null +++ b/doc/tutorial/Food2Eng.gf @@ -0,0 +1,23 @@ +concrete Food2Eng of Food = open StringOper in { + + lincat + S, Item, Kind, Quality = SS ; + + lin + Is item quality = cc item (prefix "is" quality) ; + This = prefix "this" ; + That = prefix "that" ; + QKind = cc ; + Wine = ss "wine" ; + Cheese = ss "cheese" ; + Fish = ss "fish" ; + Very = prefix "very" ; + Fresh = ss "fresh" ; + Warm = ss "warm" ; + Italian = ss "Italian" ; + Expensive = ss "expensive" ; + Delicious = ss "delicious" ; + Boring = ss "boring" ; + +} + \ No newline at end of file -- cgit v1.2.3