Moved punctuation to a separate field, to allow spoken language grammars to omit it. Created top-level spoken language grammars. (all in peacekeeping)

This commit is contained in:
bringert
2006-04-21 21:53:20 +00:00
parent 6806c98e29
commit 46f17bb535
19 changed files with 105 additions and 46 deletions

View File

@@ -1,3 +1,3 @@
--# -path=.:present:prelude
concrete PeaceCat_Eng of PeaceCat = CatEng ** PeaceCatI with (Cat = CatEng);
concrete PeaceCat_Eng of PeaceCat = CatEng ** PeaceCatI with (Lang = LangEng);

View File

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

View File

@@ -0,0 +1,8 @@
--# -path=.:..:present:prelude
concrete PeaceSpoken_Eng of PeaceSpoken =
Peace_Eng ** {
flags startcat = PhraseSpoken ;
}

View File

@@ -5,6 +5,6 @@ concrete Peace_Eng of Peace =
PeaceLexExt_Eng, PeacePhrases_Eng
** {
flags startcat = Phr ;
flags startcat = PhraseWritten ;
}