added Ann-Charlotte's grammars

This commit is contained in:
aarne
2005-06-27 12:20:33 +00:00
parent 10d6757558
commit ec444e9e7e
122 changed files with 687204 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
-- A file with Pointers...
-- With pointers I mean the phrases that point out a specific semantics of a segment.
-- Example "I want to listen to the artist Sting" where "the artist" makes clear
-- that "Sting" is an artist and not a song for instance.
resource SpecResEng = {
param ListInfo = Numeric | Ordered ;
param ItemChoice = Artist | Song | Post;
oper listForm : ListInfo => Str
= table {
Numeric => ["number"];
Ordered => ["the"]
};
oper itemForm : ItemChoice => Str
= table {
Artist => ["the artist"];
Song => ["the song"];
Post => ""
};
}