diff options
| author | aarne <aarne@cs.chalmers.se> | 2008-09-22 11:49:15 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2008-09-22 11:49:15 +0000 |
| commit | 98665df78b8018af30051cb4a9a31f845e0ba19d (patch) | |
| tree | 67ba30b09e2b9590a00a4b193bf7611caa935af8 /next-lib/src/abstract/Extra.gf | |
| parent | 4862018f140a1bdcc7961d445ed9aa92facd742f (diff) | |
moved lib/next-resource to next-lib/src, to enable linking with next-lib as value of GF_LIB_PATH
Diffstat (limited to 'next-lib/src/abstract/Extra.gf')
| -rw-r--r-- | next-lib/src/abstract/Extra.gf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/next-lib/src/abstract/Extra.gf b/next-lib/src/abstract/Extra.gf new file mode 100644 index 000000000..b0601019f --- /dev/null +++ b/next-lib/src/abstract/Extra.gf @@ -0,0 +1,30 @@ +--1 More syntax rules + +-- This module defines syntax rules that are not implemented in all +-- languages, but in more than one, so that it makes sense to offer a +-- common API. + +abstract Extra = Cat ** { + + fun + GenNP : NP -> Quant ; -- this man's + ComplBareVS : VS -> S -> VP ; -- know you go + + StrandRelSlash : RP -> ClSlash -> RCl ; -- that he lives in + EmptyRelSlash : RP -> ClSlash -> RCl ; -- he lives in + StrandQuestSlash : IP -> ClSlash -> QCl ; -- whom does John live with + +-- $VP$ conjunction, which has different fragments implemented in +-- different languages - never a full $VP$, though. + + cat + VPI ; + [VPI] {2} ; + + fun + MkVPI : VP -> VPI ; + ConjVPI : Conj -> [VPI] -> VPI ; + ComplVPIVV : VV -> VPI -> VP ; + + +} |
