From 2b21e7fae764f454200183fdcd7efbed3c647012 Mon Sep 17 00:00:00 2001 From: aarne Date: Sat, 24 Apr 2010 11:34:04 +0000 Subject: lrec tutorial examples --- examples/lrec-tutorial/ZeroIta.gf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/lrec-tutorial/ZeroIta.gf (limited to 'examples/lrec-tutorial/ZeroIta.gf') diff --git a/examples/lrec-tutorial/ZeroIta.gf b/examples/lrec-tutorial/ZeroIta.gf new file mode 100644 index 000000000..254fa17ca --- /dev/null +++ b/examples/lrec-tutorial/ZeroIta.gf @@ -0,0 +1,16 @@ +concrete ZeroIta of Zero = { + lincat + S, NP, VP, V2 = Str ; + lin + Pred np vp = np ++ vp ; + Compl v2 np = v2 ++ np ; + John = "Giovanni" ; + Mary = "Maria" ; + Love = "ama" ; +} + +--. + +-- > gr | l +-- > p -lang=ZeroEng "John loves Mary" | l -lang=ZeroIta + -- cgit v1.2.3