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

@@ -0,0 +1,11 @@
resource PeaceRes = {
param Punct = FullStop | QuestMark | ExclMark ;
oper
stop, quest, excl : Str -> { s : Str; p : Punct } ;
stop x = { s = x; p = FullStop } ;
quest x = { s = x; p = QuestMark } ;
excl x = { s = x; p = ExclMark } ;
}