diff options
Diffstat (limited to 'doc/tutorial/Food2Eng.gf')
| -rw-r--r-- | doc/tutorial/Food2Eng.gf | 23 |
1 files changed, 23 insertions, 0 deletions
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 |
