summaryrefslogtreecommitdiff
path: root/examples/tutorial/syntax/TestEng.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorial/syntax/TestEng.gf')
-rw-r--r--examples/tutorial/syntax/TestEng.gf23
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" ;
+}
+