summaryrefslogtreecommitdiff
path: root/examples/lrec-tutorial/One.gf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lrec-tutorial/One.gf')
-rw-r--r--examples/lrec-tutorial/One.gf42
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/lrec-tutorial/One.gf b/examples/lrec-tutorial/One.gf
new file mode 100644
index 000000000..4d0e94397
--- /dev/null
+++ b/examples/lrec-tutorial/One.gf
@@ -0,0 +1,42 @@
+abstract One = {
+ cat
+ S ;
+ Cl ;
+ NP ;
+ VP ;
+ AP ;
+ CN ;
+ Det ;
+ Pron ;
+ PN ;
+ N ;
+ A ;
+ V ;
+ V2 ;
+ Adv ;
+ Prep ;
+ Pol ;
+ Tense ;
+ fun
+ DeclCl : Tense -> Pol -> Cl -> S ;
+ QuestCl : Tense -> Pol -> Cl -> S ;
+
+ PredVP : NP -> VP -> Cl ;
+
+ ComplV2 : V2 -> NP -> VP ;
+ UseAP : AP -> VP ;
+ UseV : V -> VP ;
+ AdVP : VP -> Adv -> VP ;
+
+ DetCN : Det -> CN -> NP ;
+ UsePN : PN -> NP ;
+ UsePron : Pron -> NP ;
+
+ ModCN : CN -> AP -> CN ;
+ UseN : N -> CN ;
+
+ UseA : A -> AP ;
+
+ AdvA : A -> Adv ;
+ PrepNP : Prep -> NP -> Adv ;
+}