diff options
| author | aarne <aarne@chalmers.se> | 2009-12-09 09:47:16 +0000 |
|---|---|---|
| committer | aarne <aarne@chalmers.se> | 2009-12-09 09:47:16 +0000 |
| commit | c8ceed08efcc0bdc1fcbd89bce643d9f52f0991b (patch) | |
| tree | 5f0b314341c129eba1bc67b8b887fb8a4486fad8 /deprecated/old-lib/resource/abstract/Text.gf | |
| parent | 101df06f6c8380328d4266adadac3ab6d1bac0b3 (diff) | |
moving a few things to deprecated
Diffstat (limited to 'deprecated/old-lib/resource/abstract/Text.gf')
| -rw-r--r-- | deprecated/old-lib/resource/abstract/Text.gf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/deprecated/old-lib/resource/abstract/Text.gf b/deprecated/old-lib/resource/abstract/Text.gf new file mode 100644 index 000000000..d3cfac16f --- /dev/null +++ b/deprecated/old-lib/resource/abstract/Text.gf @@ -0,0 +1,15 @@ +--1 Text: Texts + +-- Texts are built from an empty text by adding $Phr$ases, +-- using as constructors the punctuation marks ".", "?", and "!". +-- Any punctuation mark can be attached to any kind of phrase. + +abstract Text = Common ** { + + fun + TEmpty : Text ; -- + TFullStop : Phr -> Text -> Text ; -- John walks. ... + TQuestMark : Phr -> Text -> Text ; -- Are they here? ... + TExclMark : Phr -> Text -> Text ; -- Let's go! ... + +} |
