summaryrefslogtreecommitdiff
path: root/doc/tutorial/resource/TestEng.gf
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorial/resource/TestEng.gf')
-rw-r--r--doc/tutorial/resource/TestEng.gf23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/tutorial/resource/TestEng.gf b/doc/tutorial/resource/TestEng.gf
new file mode 100644
index 000000000..3bfe52dfd
--- /dev/null
+++ b/doc/tutorial/resource/TestEng.gf
@@ -0,0 +1,23 @@
+--# -path=.:resource:prelude
+
+concrete TestEng of Test = SyntaxEng ** open Prelude, MorphoEng in {
+
+ lin
+ Wine = regNoun "wine" ;
+ Cheese = regNoun "cheese" ;
+ Fish = mkNoun "fish" "fish" ;
+ Pizza = regNoun "pizza" ;
+ Waiter = regNoun "waiter" ;
+ Customer = regNoun "customer" ;
+ Fresh = ss "fresh" ;
+ Warm = ss "warm" ;
+ Italian = ss "Italian" ;
+ Expensive = ss "expensive" ;
+ Delicious = ss "delicious" ;
+ Boring = ss "boring" ;
+ Stink = regVerb "stink" ;
+ Eat = regVerb "eat" ** {c = []} ;
+ Love = regVerb "love" ** {c = []} ;
+ Talk = regVerb "talk" ** {c = "about"} ;
+}
+