summaryrefslogtreecommitdiff
path: root/doc/tutorial/applications/FoodCommentsEng.gf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial/applications/FoodCommentsEng.gf')
-rw-r--r--doc/tutorial/applications/FoodCommentsEng.gf18
1 files changed, 18 insertions, 0 deletions
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" ;
+
+}