From 09177428d3319a71df84ce045e1199b6f33efba0 Mon Sep 17 00:00:00 2001 From: bjorn Date: Thu, 30 Oct 2008 16:53:26 +0000 Subject: Started working on a parsing grammar. English-only so far. --- next-lib/src/parsing/ParseEngAbs.gf | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 next-lib/src/parsing/ParseEngAbs.gf (limited to 'next-lib/src/parsing/ParseEngAbs.gf') 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 -- cgit v1.2.3