summaryrefslogtreecommitdiff
path: root/examples-3.0/tutorial/syntax/TestEng.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-06-17 13:16:15 +0000
committeraarne <aarne@cs.chalmers.se>2008-06-17 13:16:15 +0000
commit23b8136af27b0baaa8fcb5272a613d5f2ee447fa (patch)
tree2e7cd2930b7e8b6b0d911c00ec2d279b882f4893 /examples-3.0/tutorial/syntax/TestEng.gf
parent7c097669d2c3934622c57f6e2f4ddee8826953d3 (diff)
started examples-3.0 with examples that are tested to work
Diffstat (limited to 'examples-3.0/tutorial/syntax/TestEng.gf')
-rw-r--r--examples-3.0/tutorial/syntax/TestEng.gf23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples-3.0/tutorial/syntax/TestEng.gf b/examples-3.0/tutorial/syntax/TestEng.gf
new file mode 100644
index 000000000..32491c000
--- /dev/null
+++ b/examples-3.0/tutorial/syntax/TestEng.gf
@@ -0,0 +1,23 @@
+--# -path=.:resource:prelude
+
+concrete TestEng of Test = GrammarEng ** open Prelude, MorphoEng in {
+
+ lin
+ wine_N = mkN "wine" ;
+ cheese_N = mkN "cheese" ;
+ fish_N = mkN "fish" "fish" ;
+ pizza_N = mkN "pizza" ;
+ waiter_N = mkN "waiter" ;
+ customer_N = mkN "customer" ;
+ fresh_A = mkA "fresh" ;
+ warm_A = mkA "warm" ;
+ italian_A = mkA "Italian" ;
+ expensive_A = mkA "expensive" ;
+ delicious_A = mkA "delicious" ;
+ boring_A = mkA "boring" ;
+ stink_V = mkV "stink" ;
+ eat_V2 = mkV2 (mkV "eat") ;
+ love_V2 = mkV2 (mkV "love") ;
+ talk_V2 = mkV2 (mkV "talk") "about" ;
+}
+