summaryrefslogtreecommitdiff
path: root/examples/phrasebook/PhrasebookSwe.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-03-28 15:28:02 +0000
committeraarne <aarne@chalmers.se>2010-03-28 15:28:02 +0000
commit3903b6b85222d5d266f859f4d029b12159cdf814 (patch)
tree7145415760924451fcf171cc2dc7898b3be4aa4f /examples/phrasebook/PhrasebookSwe.gf
parent2925edd088b2e157183a88edb9bdfcc78371b628 (diff)
short-phrase translation; added Swe; started doc in Phrasebook
Diffstat (limited to 'examples/phrasebook/PhrasebookSwe.gf')
-rw-r--r--examples/phrasebook/PhrasebookSwe.gf14
1 files changed, 14 insertions, 0 deletions
diff --git a/examples/phrasebook/PhrasebookSwe.gf b/examples/phrasebook/PhrasebookSwe.gf
new file mode 100644
index 000000000..24241429e
--- /dev/null
+++ b/examples/phrasebook/PhrasebookSwe.gf
@@ -0,0 +1,14 @@
+--# -path=.:present
+
+concrete PhrasebookSwe of Phrasebook =
+ GreetingsSwe,
+ WordsSwe ** open
+ SyntaxSwe,
+ Prelude in {
+
+lin
+ PSentence s = mkText s | lin Text (mkUtt s) ; -- optional .
+ PQuestion s = mkText s | lin Text (mkUtt s) ; -- optional ?
+ PGreeting g = mkPhrase g ;
+
+}