mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
gf-book web page index and toc
This commit is contained in:
19
gf-book/examples/chapter2/FoodEng.gf
Normal file
19
gf-book/examples/chapter2/FoodEng.gf
Normal file
@@ -0,0 +1,19 @@
|
||||
concrete FoodEng of Food = {
|
||||
lincat
|
||||
Comment, Item, Kind, Quality = Str ;
|
||||
lin
|
||||
Pred item quality = item ++ "is" ++ quality ;
|
||||
This kind = "this" ++ kind ;
|
||||
That kind = "that" ++ kind ;
|
||||
Mod quality kind = quality ++ kind ;
|
||||
Wine = "wine" ;
|
||||
Cheese = "cheese" ;
|
||||
Fish = "fish" ;
|
||||
Very quality = "very" ++ quality ;
|
||||
Fresh = "fresh" ;
|
||||
Warm = "warm" ;
|
||||
Italian = "Italian" ;
|
||||
Expensive = "expensive" ;
|
||||
Delicious = "delicious" ;
|
||||
Boring = "boring" ;
|
||||
}
|
||||
Reference in New Issue
Block a user