summaryrefslogtreecommitdiff
path: root/examples/lrec-tutorial/ZeroDut.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lrec-tutorial/ZeroDut.gf')
-rw-r--r--examples/lrec-tutorial/ZeroDut.gf18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/lrec-tutorial/ZeroDut.gf b/examples/lrec-tutorial/ZeroDut.gf
new file mode 100644
index 000000000..efe8bbda4
--- /dev/null
+++ b/examples/lrec-tutorial/ZeroDut.gf
@@ -0,0 +1,18 @@
+concrete ZeroDut of Zero = {
+ lincat
+ S, NP, VP = Str ;
+ V2 = {v,p : Str} ;
+ lin
+ Pred np vp = np ++ vp ;
+ Compl v2 np = v2.v ++ np ++ v2.p ;
+ John = "Jan" ;
+ Mary = "Marie" ;
+ Love = {v = "heeft" ; p = "lief"} ;
+}
+
+--.
+
+-- illustrates: discontinuous constituents
+--
+-- > p -lang=ZeroEng "John loves Mary" | aw -view=open -format=png
+