From bfbe2e3d47e5f1904846609c80058f0561d76ede Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 19 Dec 2005 16:31:40 +0000 Subject: resource examples --- doc/tutorial/applications/FoodCommentsEng.gf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/tutorial/applications/FoodCommentsEng.gf (limited to 'doc/tutorial/applications/FoodCommentsEng.gf') diff --git a/doc/tutorial/applications/FoodCommentsEng.gf b/doc/tutorial/applications/FoodCommentsEng.gf new file mode 100644 index 000000000..4ac054dd3 --- /dev/null +++ b/doc/tutorial/applications/FoodCommentsEng.gf @@ -0,0 +1,18 @@ +--# -path=.:../resource:prelude + + +concrete FoodCommentsEng of FoodComments = CommentsEng ** open LexEng in { + + lin + Wine = regN "wine" ; + Cheese = regN "cheese" ; + Fish = mkN "fish" "fish" ; + Pizza = regN "pizza" ; + Fresh = mkA "fresh" ; + Warm = mkA "warm" ; + Italian = mkA "Italian" ; + Expensive = mkA "expensive" ; + Delicious = mkA "delicious" ; + Boring = mkA "boring" ; + +} -- cgit v1.2.3