forked from GitHub/gf-core
demo restaurant info
This commit is contained in:
21
examples/restaurant/RestaurantI.gf
Normal file
21
examples/restaurant/RestaurantI.gf
Normal file
@@ -0,0 +1,21 @@
|
||||
incomplete concrete RestaurantI of Restaurant = open Syntax, LexRestaurant in {
|
||||
|
||||
lincat
|
||||
Descr = Phr ;
|
||||
Name = NP ;
|
||||
Nationality = A ;
|
||||
PriceLevel = A ;
|
||||
|
||||
lin
|
||||
MkDescr name price nat =
|
||||
mkPhr (mkCl name (mkNP indefSgDet (mkCN price (mkCN nat (mkCN restaurant_N))))) ;
|
||||
|
||||
Cheap = cheap_A ;
|
||||
Italian = italian_A ;
|
||||
Thai = thai_A ;
|
||||
Swedish = swedish_A ;
|
||||
French = french_A ;
|
||||
Konkanok = mkNP konkanok_PN ;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user