diff options
| author | aarne <aarne@chalmers.se> | 2010-12-21 23:23:20 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2010-12-21 23:23:20 +0000 |
| commit | 27664de321e4bc2679e156e9f6e9e30b442e05bd (patch) | |
| tree | db1dc727023852070b5221b023c2eb9ce4bf5b4a | |
| parent | 4bab82398c905c3699cb9cfefbf913d6022b1fbe (diff) | |
making synopsis work for structural words, etc
| -rw-r--r-- | book/examples/chapter2/foodEng.cf | 14 | ||||
| -rw-r--r-- | book/examples/chapter2/foodIta.cf | 14 | ||||
| -rw-r--r-- | book/examples/chapter4/ClothesEng.gf | 2 |
3 files changed, 29 insertions, 1 deletions
diff --git a/book/examples/chapter2/foodEng.cf b/book/examples/chapter2/foodEng.cf new file mode 100644 index 000000000..3216f2e30 --- /dev/null +++ b/book/examples/chapter2/foodEng.cf @@ -0,0 +1,14 @@ +Pred. Comment ::= Item "is" Quality +This. Item ::= "this" Kind +That. Item ::= "that" Kind +Mod. Kind ::= Quality Kind +Wine. Kind ::= "wine" +Cheese. Kind ::= "cheese" +Fish. Kind ::= "fish" +Very. Quality ::= "very" Quality +Fresh. Quality ::= "fresh" +Warm. Quality ::= "warm" +Italian. Quality ::= "Italian" +Expensive. Quality ::= "expensive" +Delicious. Quality ::= "delicious" +Boring. Quality ::= "boring" diff --git a/book/examples/chapter2/foodIta.cf b/book/examples/chapter2/foodIta.cf new file mode 100644 index 000000000..02b825ed0 --- /dev/null +++ b/book/examples/chapter2/foodIta.cf @@ -0,0 +1,14 @@ +Pred. Comment ::= Item "รจ" Quality +This. Item ::= "questo" Kind +That. Item ::= "quel" Kind +Mod. Kind ::= Kind Quality +Wine. Kind ::= "vino" +Cheese. Kind ::= "formaggio" +Fish. Kind ::= "pesce" +Very. Quality ::= "molto" Quality +Fresh. Quality ::= "fresco" +Warm. Quality ::= "caldo" +Italian. Quality ::= "italiano" +Expensive. Quality ::= "caro" +Delicious. Quality ::= "delizioso" +Boring. Quality ::= "noioso" diff --git a/book/examples/chapter4/ClothesEng.gf b/book/examples/chapter4/ClothesEng.gf index d45a8ce30..c6b9a2520 100644 --- a/book/examples/chapter4/ClothesEng.gf +++ b/book/examples/chapter4/ClothesEng.gf @@ -6,5 +6,5 @@ concrete ClothesEng of Clothes = CommentsEng ** Shirt = mkCN (mkN "shirt") ; Jacket = mkCN (mkN "jacket") ; Comfortable = mkAP (mkA "comfortable") ; - Elegant = mkAP (mkA "elega") ; + Elegant = mkAP (mkA "elegant") ; } |
