Files
gf-core/gf-book/examples/chapter6/AggregationEng.gf
2011-01-11 15:46:43 +00:00

18 lines
272 B
Plaintext

concrete AggregationEng of Aggregation = {
lincat S, NP, VP = Str ;
lin
PredVP x y = x ++ y ;
ConjS a b = a ++ "or" ++ b ;
ConjVP a b = a ++ "or" ++ b ;
ConjNP a b = a ++ "or" ++ b ;
Run = "runs" ;
Walk = "walks" ;
John = "John" ;
Mary = "Mary" ;
}