From afbab92605017007ce6fed3922bc4956c2edbfbe Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 4 Oct 2007 13:43:29 +0000 Subject: resource application example in tutorial/syntax --- examples/tutorial/syntax/Syntax.gf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'examples/tutorial/syntax/Syntax.gf') diff --git a/examples/tutorial/syntax/Syntax.gf b/examples/tutorial/syntax/Syntax.gf index e75f7dd0c..3c7b0b7c0 100644 --- a/examples/tutorial/syntax/Syntax.gf +++ b/examples/tutorial/syntax/Syntax.gf @@ -23,4 +23,21 @@ oper = \np,ap -> PredVP PPos np (ComplAP ap) ; } ; + mkNP : Det -> CN -> NP + = DetCN ; + + mkCN = overload { + mkCN : AP -> CN -> CN + = ModCN ; + mkCN : N -> CN + = UseN ; + } ; + + mkAP = overload { + mkAP : AdA -> AP -> AP + = AdAP ; + mkAP : A -> AP + = UseA ; + } ; + } \ No newline at end of file -- cgit v1.2.3