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 9a51ac6ebf
commit 10bf3b1d9f
19 changed files with 105 additions and 46 deletions

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") ;
}