1
0
forked from GitHub/gf-rgl

parsing overloaded constructors as result

This commit is contained in:
aarne
2007-07-02 13:58:02 +00:00
parent de8bee29c9
commit 8b48064289
7 changed files with 1209 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
Parsing overloaded resource constructors.
AR 2/7/2007.
Do this way in gf:
> i OverLangEng.gf
> p -overload -cat=S "I loved her"
mkS pastTense (mkCl (mkNP i_Pron) love_V2 (mkNP she_Pron))
The program FromOverload.hs creates the files OverGrammar.gf and OverGrammarEng.gf
from constr.gf (which in turn is the latter part of ../Constructors.gf).
Some imperative and punctuation forms are still missing, since they are treated
with special parameters.