summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/experiments/Dep.gf19
-rw-r--r--examples/experiments/DepEng.gf24
2 files changed, 43 insertions, 0 deletions
diff --git a/examples/experiments/Dep.gf b/examples/experiments/Dep.gf
new file mode 100644
index 000000000..d0670ee09
--- /dev/null
+++ b/examples/experiments/Dep.gf
@@ -0,0 +1,19 @@
+abstract Dep = {
+
+cat
+ S ; NP ; VP ; V2 ; CN ; AP ; Adv ; AdA ; Prep ;
+fun
+ Pred : NP -> VP -> S ;
+ Extr : NP -> VP -> S ;
+ Compl : NP -> V2 -> VP ;
+ Mods : AP -> CN -> NP ;
+ MMods : AdA -> AP -> CN -> NP ;
+ Prepm : Adv -> NP -> NP ;
+ Prepp : NP -> Prep -> Adv ;
+
+ Economic, Financial, Little : AP ;
+ News, Effect, Markets : CN ;
+ Had : V2 ;
+ On : Prep ;
+ Very : AdA ;
+}
diff --git a/examples/experiments/DepEng.gf b/examples/experiments/DepEng.gf
new file mode 100644
index 000000000..f6d5e50d2
--- /dev/null
+++ b/examples/experiments/DepEng.gf
@@ -0,0 +1,24 @@
+concrete DepEng of Dep = {
+
+lincat
+ S, NP, V2, CN, AP, Adv, Prep, AdA = Str ;
+ VP = Str * Str ;
+lin
+ Pred x y = x ++ y.p1 ++ y.p2 ;
+ Extr x y = y.p2 ++ x ++ y.p1 ;
+ Compl x y = <y,x> ;
+ Mods x y = x ++ y ;
+ MMods x y z = x ++ y ++ z ;
+ Prepm x y = y ++ x ;
+ Prepp x y = y ++ x ;
+
+ Economic = "economic" ;
+ Financial = "financial" ;
+ Little = "little" ;
+ News = "news" ;
+ Effect = "effect" ;
+ Markets = "markets" ;
+ Had = "had" ;
+ On = "on" ;
+ Very = "very" ;
+}