mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-05 17:22:51 -06:00
27 lines
852 B
Plaintext
27 lines
852 B
Plaintext
--1 Infrastructure with common implementations.
|
|
|
|
-- 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 2 x 4 x 4 = 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 "passé simple" of
|
|
-- Romance languages.
|
|
|
|
abstract Common = {
|
|
|
|
cat
|
|
Text ; -- text consisting of several phrases
|
|
Phr ; -- phrase in a text e.g. "But be quiet my darling."
|
|
|
|
Pol ;
|
|
Tense ;
|
|
Ant ;
|
|
|
|
fun
|
|
PPos, PNeg : Pol ; -- I sleep/don't sleep
|
|
TPres, TPast, TFut, TCond : Tense ; -- I sleep/slept/will sleep/would sleep
|
|
ASimul, AAnter : Ant ; -- I sleep/have slept
|
|
|
|
}
|