forked from GitHub/gf-core
new tutorial almost finished
This commit is contained in:
9
doc/tutorial/resource-food/FoodEng.gf
Normal file
9
doc/tutorial/resource-food/FoodEng.gf
Normal file
@@ -0,0 +1,9 @@
|
||||
--# -path=.:present:prelude
|
||||
|
||||
concrete FoodEng of Food = FoodI - [Pizza] with
|
||||
(Syntax = SyntaxEng),
|
||||
(LexFood = LexFoodEng) **
|
||||
open SyntaxEng, ParadigmsEng in {
|
||||
|
||||
lin Pizza = mkCN (mkA "Italian") (mkN "pie") ;
|
||||
}
|
||||
Reference in New Issue
Block a user