summaryrefslogtreecommitdiff
path: root/testsuite/compiler/canonical/FoodsI.gf
diff options
context:
space:
mode:
authorJohn J. Camilleri <john@digitalgrammars.com>2021-06-30 12:41:56 +0200
committerJohn J. Camilleri <john@digitalgrammars.com>2021-06-30 12:41:56 +0200
commit0f5be0bbaa862d2ccdb649eb6dd9fc5e26814e8a (patch)
tree055e215af682bdde05f3e0b8e78e65e9d3e856d6 /testsuite/compiler/canonical/FoodsI.gf
parent0a70eca6e2913c462c5c65361131f3ed341e539d (diff)
Add shell script in testsuite/compiler/canonical for replicating known issues
Ideally this is integrated into proper test suite, but that's too much overhead for now
Diffstat (limited to 'testsuite/compiler/canonical/FoodsI.gf')
-rw-r--r--testsuite/compiler/canonical/FoodsI.gf29
1 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/compiler/canonical/FoodsI.gf b/testsuite/compiler/canonical/FoodsI.gf
new file mode 100644
index 000000000..f4113b724
--- /dev/null
+++ b/testsuite/compiler/canonical/FoodsI.gf
@@ -0,0 +1,29 @@
+-- (c) 2009 Aarne Ranta under LGPL
+
+incomplete concrete FoodsI of Foods =
+ open Syntax, LexFoods in {
+ lincat
+ Comment = Utt ;
+ Item = NP ;
+ Kind = CN ;
+ Quality = AP ;
+ lin
+ Pred item quality = mkUtt (mkCl item quality) ;
+ This kind = mkNP this_Det kind ;
+ That kind = mkNP that_Det kind ;
+ These kind = mkNP these_Det kind ;
+ Those kind = mkNP those_Det kind ;
+ Mod quality kind = mkCN quality kind ;
+ Very quality = mkAP very_AdA quality ;
+
+ 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 ;
+}