updated synopsis with information on extra modules and gfdoc for internal abstract syntax

This commit is contained in:
aarne
2011-10-28 08:37:38 +00:00
parent 3f29e551db
commit 34c8cfaa40
27 changed files with 2112 additions and 17 deletions

32
lib/doc/gfdoc/Tense.html Normal file
View File

@@ -0,0 +1,32 @@
<html>
<body>
<i> Produced by
gfdoc - a rudimentary GF document generator.
(c) Aarne Ranta (aarne@cs.chalmers.se) 2002 under GNU GPL.
</i>
<p>
<h1> Common: Structures with Common Implementations.</h1>
This module defines the abstract parameters of tense, polarity, and
anteriority, which are used in [``Phrase`` Phrase.html] to generate different
forms of sentences. Together they give 4 x 2 x 2 = 16 sentence forms.
These tenses are defined for all languages in the library. More tenses
can be defined in the language extensions, e.g. the <i>passe simple</i> of
Romance languages in [``ExtraRomance`` ../romance/ExtraRomance.gf].
<pre>
abstract Tense = Common ** {
fun
TTAnt : Tense -> Ant -> Temp ;
PPos, PNeg : Pol ; -- I sleep/don't sleep
TPres : Tense ;
ASimul : Ant ;
TPast, TFut, TCond : Tense ; -- I slept/will sleep/would sleep --# notpresent
AAnter : Ant ; -- I have slept --# notpresent
}
</pre>
</body>
</html>