diff options
| author | aarne <aarne@cs.chalmers.se> | 2007-08-16 16:18:54 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2007-08-16 16:18:54 +0000 |
| commit | 6234e536f63e3e803286b94cee8a0e0a3adcdcb2 (patch) | |
| tree | 76151e2a18d5dc2e724f99b066860b4cb7897240 /examples/tutorial/syntax/TestEng.gf | |
| parent | 5f0e8a16ecbf06a6dad344ce2ef0974692ffc581 (diff) | |
moved tutorial examples to GF/examples
Diffstat (limited to 'examples/tutorial/syntax/TestEng.gf')
| -rw-r--r-- | examples/tutorial/syntax/TestEng.gf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/tutorial/syntax/TestEng.gf b/examples/tutorial/syntax/TestEng.gf new file mode 100644 index 000000000..4099753f1 --- /dev/null +++ b/examples/tutorial/syntax/TestEng.gf @@ -0,0 +1,23 @@ +--# -path=.:resource:prelude + +concrete TestEng of Test = SyntaxEng ** open Prelude, MorphoEng in { + + lin + Wine = mkN "wine" ; + Cheese = mkN "cheese" ; + Fish = mkN "fish" "fish" ; + Pizza = mkN "pizza" ; + Waiter = mkN "waiter" ; + Customer = mkN "customer" ; + Fresh = mkA "fresh" ; + Warm = mkA "warm" ; + Italian = mkA "Italian" ; + Expensive = mkA "expensive" ; + Delicious = mkA "delicious" ; + Boring = mkA "boring" ; + Stink = mkV "stink" ; + Eat = mkV2 (mkV "eat") ; + Love = mkV2 (mkV "love") ; + Talk = mkV2 (mkV "talk") "about" ; +} + |
