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/Text.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/Text.gf')
| -rw-r--r-- | next-lib/src/abstract/Text.gf | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/next-lib/src/abstract/Text.gf b/next-lib/src/abstract/Text.gf new file mode 100644 index 000000000..d3cfac16f --- /dev/null +++ b/next-lib/src/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! ... + +} |
