mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 17:42:51 -06:00
demo restaurant info
This commit is contained in:
19
examples/restaurant/Restaurant.gf
Normal file
19
examples/restaurant/Restaurant.gf
Normal file
@@ -0,0 +1,19 @@
|
||||
abstract Restaurant = {
|
||||
|
||||
flags startcat = Descr ;
|
||||
|
||||
cat
|
||||
Descr ;
|
||||
Name ;
|
||||
Nationality ;
|
||||
PriceLevel ;
|
||||
|
||||
fun
|
||||
MkDescr : Name -> PriceLevel -> Nationality -> Descr ;
|
||||
|
||||
Cheap : PriceLevel ;
|
||||
Italian, Thai, Swedish, French : Nationality ;
|
||||
Konkanok : Name ;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user