summaryrefslogtreecommitdiff
path: root/examples/tutorial/syntax/FoodsI.gf
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-10-04 13:43:29 +0000
committeraarne <aarne@cs.chalmers.se>2007-10-04 13:43:29 +0000
commitafbab92605017007ce6fed3922bc4956c2edbfbe (patch)
tree0a9676528388e4a488136332a00755253bb584b0 /examples/tutorial/syntax/FoodsI.gf
parent61dfd0326ca88385e207338f3fff1c0bcf368279 (diff)
resource application example in tutorial/syntax
Diffstat (limited to 'examples/tutorial/syntax/FoodsI.gf')
-rw-r--r--examples/tutorial/syntax/FoodsI.gf26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/tutorial/syntax/FoodsI.gf b/examples/tutorial/syntax/FoodsI.gf
new file mode 100644
index 000000000..d67302235
--- /dev/null
+++ b/examples/tutorial/syntax/FoodsI.gf
@@ -0,0 +1,26 @@
+incomplete concrete FoodsI of Foods = open Syntax, Test in {
+ lincat
+ Phrase = S ;
+ Item = NP ;
+ Kind = CN ;
+ Quality = AP ;
+ lin
+ Is = mkS ;
+ This = mkNP this_Det ;
+ That = mkNP that_Det ;
+ These = mkNP these_Det ;
+ Those = mkNP those_Det ;
+ QKind = mkCN ;
+ Very = mkAP very_AdA ;
+
+ Wine = mkCN wine_N ;
+ Pizza = mkCN pizza_N ;
+ Cheese = mkCN cheese_N ;
+ Fish = mkCN fish_N ;
+ Fresh = mkAP fresh_A ;
+ Warm = mkAP warm_A ;
+ Italian = mkAP italian_A ;
+ Expensive = mkAP expensive_A ;
+ Delicious = mkAP delicious_A ;
+ Boring = mkAP boring_A ;
+}