summaryrefslogtreecommitdiff
path: root/grammars/TALK/GF_GoDiS/Domain/SpecResEng.gf
blob: f08ce3e9eccd19f4dc156e058a4d57f13a8789e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 => ""
	};

}