summaryrefslogtreecommitdiff
path: root/next-lib/src/parsing/ParseEngAbs.gf
diff options
context:
space:
mode:
authorbjorn <bjorn@bringert.net>2008-10-30 16:53:26 +0000
committerbjorn <bjorn@bringert.net>2008-10-30 16:53:26 +0000
commit09177428d3319a71df84ce045e1199b6f33efba0 (patch)
tree823ab246999bcce5e893f193166b21923648c15f /next-lib/src/parsing/ParseEngAbs.gf
parente64d5a8bb0f04b6fe298c949ea60331320c98c72 (diff)
Started working on a parsing grammar. English-only so far.
Diffstat (limited to 'next-lib/src/parsing/ParseEngAbs.gf')
-rw-r--r--next-lib/src/parsing/ParseEngAbs.gf37
1 files changed, 37 insertions, 0 deletions
diff --git a/next-lib/src/parsing/ParseEngAbs.gf b/next-lib/src/parsing/ParseEngAbs.gf
new file mode 100644
index 000000000..e399c69ef
--- /dev/null
+++ b/next-lib/src/parsing/ParseEngAbs.gf
@@ -0,0 +1,37 @@
+abstract ParseEngAbs =
+ Parse,
+ ExtraEngAbs - [
+ -- Don't include the uncontracted clauses. Instead
+ -- use them as variants of the contracted ones.
+ UncNegCl, UncNegQCl, UncNegRCl, UncNegImpSg, UncNegImpPl
+ ]
+ ** {
+
+-- Syntactic additions
+
+fun VerbCN : V -> CN -> CN ; -- running man
+
+fun NumOfNP : Num -> NP -> NP ; -- ten of the dogs
+
+-- Lexical additions
+
+fun a8few_Det : Det ;
+fun another_Predet : Predet ;
+fun any_Predet : Predet ;
+fun anybody_NP : NP ;
+fun anything_NP : NP ;
+fun at8least_AdN : AdN ;
+fun at8most_AdN : AdN ;
+fun both_Det : Det ;
+fun either_Det : Det ;
+fun exactly_AdN : AdN ;
+fun most_Det : Det ;
+fun neither_Det : Det ;
+fun no_Det : Det ;
+fun nobody_NP : NP ;
+fun nothing_NP : NP ;
+fun only_AdV : AdV ;
+fun should_VV : VV ;
+fun several_Det : Det ;
+
+} \ No newline at end of file