summaryrefslogtreecommitdiff
path: root/grammars/ljung/thesis/FragmentSimple.gf
blob: bdf2581d040018b296793ba27b8f02318720e5c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

concrete FragmentSimple of FragmentAbstract = {

lin

s_p  x y = { s = x.s ++ y.s };
np_d x y = { s = x.s ++ y.s };
np_p x   = { s = x.s };
vp_t x y = { s = x.s ++ y.s };
d_a    	 = { s = "a" };
d_m	 = { s = "many" };
n_c	 = { s = variants { "lion" ; "lions" } };
n_f	 = { s = "fish" };
v_e	 = { s = variants { "eats" ; "eat" } };

}