1
0
forked from GitHub/gf-core

peacekeeping: add a module with phrases which are very different in different languages, e.g. greetings. The english and swedish implementations do not yet use the resource grammars, and the finnish is empty.

This commit is contained in:
bringert
2006-04-20 22:46:41 +00:00
parent 50c51c50bf
commit 1861c23414
8 changed files with 56 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
--# -path=.:..:present:prelude
concrete PeacePhrases_Eng of PeacePhrases =
PeaceCat_Eng ** open ResEng in {
lin
Hello = { s = "hello" ++ "." } ;
GoodMorning = { s = ["good morning"] ++ "." } ;
GoodEvening = { s = ["good evening"] ++ "." } ;
WhatIsNamePron p = { s = ["what is"] ++ p.s!Gen ++ "name" ++ "?"; };
}

View File

@@ -1,3 +1,6 @@
--# -path=.:..:present:prelude
concrete Peace_Eng of Peace = PeaceSyntax_Eng, PeaceLexCommon_Eng, PeaceLexExt_Eng ** {}
concrete Peace_Eng of Peace =
PeaceSyntax_Eng, PeaceLexCommon_Eng,
PeaceLexExt_Eng, PeacePhrases_Eng
** {}