mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
resource examples
This commit is contained in:
18
doc/tutorial/applications/FoodCommentsEng.gf
Normal file
18
doc/tutorial/applications/FoodCommentsEng.gf
Normal file
@@ -0,0 +1,18 @@
|
||||
--# -path=.:../resource:prelude
|
||||
|
||||
|
||||
concrete FoodCommentsEng of FoodComments = CommentsEng ** open LexEng in {
|
||||
|
||||
lin
|
||||
Wine = regN "wine" ;
|
||||
Cheese = regN "cheese" ;
|
||||
Fish = mkN "fish" "fish" ;
|
||||
Pizza = regN "pizza" ;
|
||||
Fresh = mkA "fresh" ;
|
||||
Warm = mkA "warm" ;
|
||||
Italian = mkA "Italian" ;
|
||||
Expensive = mkA "expensive" ;
|
||||
Delicious = mkA "delicious" ;
|
||||
Boring = mkA "boring" ;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user