summaryrefslogtreecommitdiff
path: root/examples/phrasebook/PhrasebookFre.gf
diff options
context:
space:
mode:
authoraarne <aarne@chalmers.se>2010-03-21 19:57:53 +0000
committeraarne <aarne@chalmers.se>2010-03-21 19:57:53 +0000
commit9d98177e65970dae560d871245ab5d0adbe72d50 (patch)
treea6134b8f5908ce01f6ecc22d7e0ed1d720347613 /examples/phrasebook/PhrasebookFre.gf
parentdf0c6fb8d3acb525e7cdf520b5c51d967d12567e (diff)
French phrasebook
Diffstat (limited to 'examples/phrasebook/PhrasebookFre.gf')
-rw-r--r--examples/phrasebook/PhrasebookFre.gf23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/phrasebook/PhrasebookFre.gf b/examples/phrasebook/PhrasebookFre.gf
new file mode 100644
index 000000000..662f5aade
--- /dev/null
+++ b/examples/phrasebook/PhrasebookFre.gf
@@ -0,0 +1,23 @@
+--# -path=.:present
+
+concrete PhrasebookFre of Phrasebook =
+ GreetingsFre,
+ FoodFre
+ ** open
+ SyntaxFre,
+ ParadigmsFre,
+ ResFre, ---- for Num to Utt
+ Prelude in {
+
+lincat
+ Phrase = Utt ;
+
+lin
+ PNumeral n = mkPhrase (ss ((mkCard <n : Numeral>).s ! masculine)) ; ----
+ PGreeting g = mkPhrase g ;
+ PSentence s = s ;
+
+oper
+ mkPhrase : SS -> Utt = \s -> lin Utt s ;
+
+}