forked from GitHub/gf-core
gf-book web page index and toc
This commit is contained in:
17
gf-book/examples/chapter6/AggregationEng.gf
Normal file
17
gf-book/examples/chapter6/AggregationEng.gf
Normal file
@@ -0,0 +1,17 @@
|
||||
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" ;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user