diff options
| author | aarne <aarne@cs.chalmers.se> | 2005-12-19 16:31:40 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2005-12-19 16:31:40 +0000 |
| commit | bfbe2e3d47e5f1904846609c80058f0561d76ede (patch) | |
| tree | e41e9d1f35e48afa7049b0d05362d10df7078ae6 /doc/tutorial/applications/FoodCommentsEng.gf | |
| parent | 7878cd5e0ad8d8097a1f7a6b9885b4825fc47686 (diff) | |
resource examples
Diffstat (limited to 'doc/tutorial/applications/FoodCommentsEng.gf')
| -rw-r--r-- | doc/tutorial/applications/FoodCommentsEng.gf | 18 |
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" ; + +} |
