commit 40686bf81abbc06c1b6ad749d5f01eada506bced Author: Midgard Date: Fri Sep 18 19:41:59 2020 +0200 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..51aee8c --- /dev/null +++ b/README.md @@ -0,0 +1,110 @@ +# HLDS data format + +HLDS is the Haldis Language for Describing Servings. It defines the menu you see when ordering in +Haldis. + +There is syntax highlighting support for editors in `etc/` in the Haldis repository. + +## Indentation +Indentation requires hard **tabs**. Spaces will not work. + +## Identifiers +You must choose an identifier for each location, dish, choice, option and tag. Identifiers may +consist of numbers, hyphens, underscores and lowercase letters of the alphabet (a through z). + +* Allowed: `0-my_identifier` +* Disallowed: ~~`0 My Identifié`~~ + +## Locations + +A HLDS file consists of one or more locations. Each location starts with a header, which is enclosed +in "fences" of at least three equal signs. The first line of the header contains the ID and name of +the location. Further lines contain the metadata of the location, such as the phone number and +OpenStreetMap element. In the future, the phone number and such will be fetched from OpenStreetMap. + +```hlds +========================== +ocean_garden: Ocean Garden + osm https://www.openstreetmap.org/node/2275105003 + phone +32 9 222 72 74 + address Zwijnaardsesteenweg 399, 9000 Gent + website http://oceangarden.byethost3.com/ + # Comments are allowed too! +========================== +``` + +## Dishes + +A location consists of dishes. Spaces can be used to align the elements of your dish (but that's +not required). + +```hlds +dish cheeseburger: Cheeseburger € 2.9 +dish assortment: Twijfelaar € 3 +``` + +## Inline choices +Dishes can contain choices. There are two types: +* `single_choice` is a required choice where the user must choose one option. +* `multi_choice` is an optional choice where the user can choose zero or more options. + +```hlds +dish fries: Frietjes + single_choice size: Formaat + extra_small: Extra small € 1.8 + small: Small € 2 + medium: Medium € 2.5 + large: Large € 3.3 + multi_choice sauce: Saus + ketchup: Ketchup € 1.4 + mayo: Mayonaise € 1.4 + bicky: Bickysaus € 1.4 + stew: Stoofvleessaus € 1.9 +``` + +## Common choices +Choices that are used more than once, can be declared once and referenced in multiple dishes. + +```hlds +bami_nasi: Bami of nasi + bami: Bami + nasi: Nasi + +dish wok3: Studentenwok 3 kip bami/nasi zonder saus € 6 + single_choice bami_nasi + +dish wok5: Studentenwok 5 babi pangang € 6 + single_choice bami_nasi +``` + +## Descriptions +You can add descriptions to dishes, choices and options. Separate name and description with ` -- `. + +```hlds +dish dishid: Name -- This is a description € 3 +``` + +## Tags + +**Note:** Only the `{no_text}` tag is supported at this moment. You can ignore other tags for now. + +You can add tags after ` :: `. Tags are `{identifier}`. You can use tags to attach more information +about a dish or option in a structured way. For example: `{has_meat}` signals to vegetarians that +they should avoid this. + +The order is always id, name, description, tags, price (not all have to be present of course). + +```hlds +dish dishid: Name -- This is a description :: {has_meat} € 3 +``` + +The `{no_text}` tag signals that an option is not to be shown in a dish's description. This is +useful for choices that have a default that needs not be read when ordering. + +```hlds +veggie: Vegetarische opties + meat: Niet vegetarisch :: {has_meat} {no_text} + tofu: Vegetarisch met tofu + falafel: Vegetarisch met falafel + vegan: Veganistisch +``` diff --git a/fitchen.hlds b/fitchen.hlds new file mode 100644 index 0000000..a17cc0a --- /dev/null +++ b/fitchen.hlds @@ -0,0 +1,80 @@ +============================================= +fitchen: Fitchen + osm https://www.openstreetmap.org/node/3394542496 + website https://www.fitchen.be/ + address Vlaanderenstraat 129, 9000 Gent + phone +32 9 310 44 62 + # Menu: https://www.fitchen.be/wp-content/uploads/2020/06/Fitchen-Menu-Zomer-2020.pdf +============================================= + +size: Grootte + small: Small -- ±400 kcal € 7.99 + medium: Medium -- ±600 kcal € 9.99 + large: Large -- ±800 kcal € 11.99 + +bowl_wrap: Bowl of wrap + bowl: Bowl -- Wegwerpschaal + wrap: Volkorenwrap + +# Veggie/vegan +dish sunset_beach: Sunset beach -- Tofu, bruine rijst, slamix, Fitchens currydressing + single_choice bowl_wrap + single_choice size + +dish hot_tempeh: Hot tempeh -- Gekruide tempeh, quinoa, slamix, Fitchens spicy dressing + single_choice bowl_wrap + single_choice size + +dish vegan_avocado_spring: Vegan avocado spring -- Gekruide tempeh, quinoa, avocado, rode ui, komkommer, kerstomaten, babyspinazie, lijnzaad, vegan spicy dressing + single_choice bowl_wrap + single_choice size + +dish vegan_healthy_wave: Vegan healthy wave -- Tofu, quinoa, mango, edamamebonen, avocado, zwarte bonen, kerstomaten, ijsbergsla, vegan notendressing, pindakruimels + single_choice bowl_wrap + single_choice size + + +# Kip +dish avocado_chick: Avocado chick -- Kip, zoete aardappel, ijsbergsla, paprika, avocado, parmezaan, maïs, Fitchens mosterddressing + single_choice bowl_wrap + single_choice size + +dish spicy_chicken: Spicy chicken -- Kip, quinoa, slamix, Fitchens spicy dressing + single_choice bowl_wrap + single_choice size + +dish indian_summer: Indian summer -- Kip, bruine rijst, slamix, Fitchens currydressing + single_choice bowl_wrap + single_choice size + +dish olive_garden: Olive garden -- Kip, volkorenpasta, babyspinazie, kerstomaten, parmezaan, zwarte olijven, Fitchens basilicum-pestodressing + single_choice bowl_wrap + single_choice size + +dish healthy_wave: Vegan healthy wave -- Kip, quinoa, mango, edamamebonen, avocado, zwarte bonen, kerstomaten, ijsbergsla, vegan notendressing, pindakruimels + single_choice bowl_wrap + single_choice size + + +# Rund +dish spicy_mexican: Spicy Mexican -- Mager rundvlees, quinoa, ijsbergsla, avocado, parmezaan, maïs, paprika, Fitchens spicy dressing + single_choice bowl_wrap + single_choice size + +dish beefcake: Beefcake -- Mager rundvlees, zoete aardappel, slamix, Fitchens mosterddressing + single_choice bowl_wrap + single_choice size + +dish iron_man: Iron man -- Mager rundvlees, volkorenpasta, kerstomaten, parmezaan, zwarte olijven, babyspinazie, Fitchens basilicum-pestodressing + single_choice bowl_wrap + single_choice size + + +# Vis +dish captain: Captain -- Gerookte zalm, volkorenpasta, witte ui, babyspinazie, kerstomaten, Fitchens basilicum-pestodressing + single_choice bowl_wrap + single_choice size + +dish slim_fish: Slim fish -- Gerookte zalm, bruine rijst, babyspinazie, radijs, edamamebonen, komkommer, maïs, avocado, sesamzaad, Fitchens spicy dressing + single_choice bowl_wrap + single_choice size diff --git a/fritoloog.hlds b/fritoloog.hlds new file mode 100644 index 0000000..f2c0751 --- /dev/null +++ b/fritoloog.hlds @@ -0,0 +1,110 @@ +============================ +fritoloog: Fritoloog + osm https://www.openstreetmap.org/node/5813542646 + address Voskenslaan 413, 9000 Gent + phone +32 495 22 19 75 + website https://defritoloog.be + # Op bovenstaande website kan men ook online bestellen +============================ + +dish fries: Frietjes :: {has_meat} + # Gebakken in rundsvet dus {has_meat} + + single_choice size: Formaat + extra_small: Extra small € 1.8 + small: Small € 2 + medium: Medium € 2.5 + large: Large € 3.3 + + multi_choice sauce € 1.4 + +dish standalone_sauce: Saus in potje € 0.8 + single_choice sauce + +sauce: Saus + ketchup: Ketchup + mayo: Mayonaise + bicky: Bickysaus + stew: Stoofvleessaus :: {has_meat} € 0.5 + other: Andere (in commentaar) + +extras: Extra's + extra_cheese: Extra kaas € 0.2 + +dish chicken_fingers: Kippenvingers :: {has_meat} € 3 +dish nuggiz: Nuggiz :: {has_meat} € 3 +dish mammoth_sausage: Mammoetworst :: {has_meat} € 2.1 +dish taco: Taco :: {has_meat} € 2.5 +dish ragoezi: Ragoezi :: {has_meat} € 2 +dish gypsy_stick: Zigeunerstick :: {has_meat} € 2 +dish frikandel: Frikandel :: {has_meat} € 1.5 +dish frikandel_special: Frikandel special :: {has_meat} € 2.2 +dish frikandel_xxl: XXL Frikandel :: {has_meat} € 3 +dish viandel: Viandel :: {has_meat} € 1.8 +dish viandel_spicy: Spicy-viandel :: {has_meat} € 1.8 +dish chicken_corn: Kipcorn :: {has_meat} € 1.8 +dish sito: Sito :: {has_meat} € 2.7 +dish horse_garlic_sausage: Paardenlookworst :: {has_meat} € 2.4 +dish garlic_sausage: Lookworst :: {has_meat} € 2.4 +dish bitterbal: Bitterbal :: {has_meat} € 1.5 +dish boulet: Boulet :: {has_meat} € 1.8 +dish chicken_spring_roll: Kippenloempia :: {has_meat} € 3 +dish meat_croquette: Vleeskroket :: {has_meat} € 1.8 +dish chicken_drumsticks: Kippenboutjes :: {has_meat} € 3.2 +dish fire_breather: Vuurvreter :: {has_meat} € 2 +dish mexicano: Mexicano :: {has_meat} € 2.4 +dish ardeens_satay: Ardeense saté :: {has_meat} € 2.5 +dish satay: Saté :: {has_meat} € 2.7 +dish grisley: Grisley :: {has_meat} € 2.7 +dish flemish_stew: Stoofvlees :: {has_meat} € 4.5 +dish meatballs_tomato_sauce: Balletjes in tomatensaus :: {has_meat} € 4.5 +dish assortment: Twijfelaar :: {has_meat} € 3 + +# Burgers +dish hamburger: Hamburger :: {has_meat} € 2.6 + multi_choice extras +dish samuraiburger: Samuraiburger :: {has_meat} € 2.6 + multi_choice extras +dish joppieburger: Joppieburger :: {has_meat} € 2.6 + multi_choice extras +dish cheeseburger: Cheeseburger :: {has_meat} € 2.9 + multi_choice extras +dish chicken_burger: Chickenburger :: {has_meat} € 3.2 + multi_choice extras +dish bicky_burger: Bickyburger :: {has_meat} € 2.9 + multi_choice extras +dish bicky_rib: Bicky Rib :: {has_meat} € 3.5 + multi_choice extras +dish bicky_royal: Bicky Royal :: {has_meat} € 4.3 + multi_choice extras +dish bicky_chicken: Bicky Chicken :: {has_meat} € 3.2 + multi_choice extras +dish bicky_wrap: Bicky Wrap :: {has_meat} € 3 + multi_choice extras + +dish grill_burger: Burger op de grill :: {has_meat} € 5.5 + single_choice soort: Soort burger # FIXME maybe change this desciption + keizer_karel: Keizer Karel + walter_de_buck: Walter De Buck + john_massis: John Massis € 0.5 + pierke_pierlala: Pierke Pierlala € 0.5 + van_eyck: Van Eyck € 0.5 + + +dish fish_burger: Fishburger :: {has_fish} € 3 +dish cod_stick: Kabeljauwstick :: {has_fish} € 2.5 +dish shrimp_croquette: Garnaalkroket :: {has_fish} € 2 + +dish chili_cheese: Chili cheese (veggie) :: € 2.7 +dish mozarella_sticks: Mozarellasticks (veggie) :: € 3 +dish cheese_croquette: Kaaskroket (veggie) :: € 1.5 +dish veggi_burger: Veggieburger :: € 3.2 +dish cheese_souflesse: Kaassouflesse (veggie) :: € 1.5 + # https://www.vangeloven.com/merk/souflesse +dish bonita: Bonita (veggie) :: € 2 + # https://www.devriesvanoers.nl/assortiment/specialiteiten/vegetarisch-groentesnack-vries-bonita/ +dish sajoera: Sajoera (veggie) :: € 2 + # https://www.devriesvanoers.nl/assortiment/specialiteiten/vegetarisch-groentekroket-vries-sajoera/ +dish veg_cheese_disc: Groenten-kaasschijf (veggie) :: € 2.4 +dish mini_spring_rolls: Mini-loempia's (veggie) :: € 3 +dish bami: Bami (veggie) :: € 2 diff --git a/ocean_garden.hlds b/ocean_garden.hlds new file mode 100644 index 0000000..12f571f --- /dev/null +++ b/ocean_garden.hlds @@ -0,0 +1,71 @@ +============================================= +ocean_garden: Ocean Garden + osm https://www.openstreetmap.org/node/2275105003 + address Zwijnaardsesteenweg 399, 9000 Gent + phone +32 9 222 72 74 + website http://oceangarden.byethost3.com/ + + # Studentenmenu wordt beschreven op + # http://oceangarden.byethost3.com/studentenmenus.html?i=1 + # http://oceangarden.byethost3.com/joomla/index.php/studentenmenu + # Rest van menu wordt beschreven op + # http://oceangarden.byethost3.com/joomla/index.php/menu +============================================= + +bami_nasi: Bami of nasi + bami: Bami -- Tarwenoedels + nasi: Nasi -- Rijst + +bami_mihoen: Bami of mihoen + bami: Bami -- Tarwenoedels + mihoen: Mihoen -- Dunne, Chinese noedels, gemaakt van rijstbloem + +sauce: Saus + bali: Bali -- Indonesische saus + yusiang: Yu-siang -- Chinese saus met chili, pijpajuin, gember en look + gonboa: Gon-boa -- Pikante kruidensaus uit het westen van China + curry: Curry + sweetsour: Zoetzuur + oyster: Oester :: {has_fish} + pepper: Pepersaus + mushroom: Champignon -- Saus met champignon, wortel en wat andere groentjes + malaysian: A la Maleisië -- Licht pikante saus + + +# Student woks +dish wok5: Babi pangang -- Geroosterd varkensvlees :: {has_meat} € 6 + single_choice bami_nasi + +dish wok1_chicken: Kip met saus :: {has_meat} € 6 + single_choice bami_nasi + single_choice sauce +dish wok1_pork: Varken met saus :: {has_meat} € 6 + single_choice bami_nasi + single_choice sauce + +dish wok1_breaded_chicken: Kippenballetjes zoetzuur :: {has_meat} € 6 + single_choice bami_nasi +dish wok1_breaded_pork: Varkensballetjes zoetzuur :: {has_meat} € 6 + single_choice bami_nasi + +dish wok2_chicken: Wok 2: kip zonder saus :: {has_meat} € 6 + single_choice bami_mihoen +dish wok2_pork: Wok 2: varken zonder saus :: {has_meat} € 6 + single_choice bami_mihoen + +dish wok3_chicken: Wok 3: kip met rijst zonder saus :: {has_meat} € 6 +dish wok3_pork: Wok 3: varken met rijst zonder saus :: {has_meat} € 6 + +dish wok4: Vegetarisch met saus € 6 + single_choice bami_nasi + single_choice sauce + +# Vegetarian dishes +dish chop_choy: 76. Chop Choy (veggie) -- Sojascheuten, met gebakken rijst € 9 +dish tjap_tjoy: 77. Tjap Tjoy (veggie) -- Diverse groenten met gebakken rijst, veggie € 9 +dish mihoen_veggies: 78. Mihoen met diverse groenten (veggie) -- Rijstnoedels € 10 +dish chau_ming_veggies: 79. Chau ming met diverse groenten (veggie) -- Eiernoedels € 10 +dish tau_foe_ma_po: 80. Tau Foe met ma-po-saus (veggie) -- Met gebakken rijst € 11.5 +dish tau_foe_mushrooms: 81. Tau Foe met Chinese champignons (veggie) -- Met gebakken rijst € 11.5 + +dish chopsticks: Stokjes diff --git a/prima_donna.hlds b/prima_donna.hlds new file mode 100644 index 0000000..9b9eb00 --- /dev/null +++ b/prima_donna.hlds @@ -0,0 +1,41 @@ +======================== +prima_donna: Prima Donna + address Overpoortstraat 46, 9000 Gent + website https://primadonnagent.be + phone +32 475 40 13 00 +======================== + +dish basic_pizza: Basispizza :: € 4.5 +dish margarita: Pizza margharita :: € 4.5 +dish pepperoni: Pizza pepperoni :: € 5.75 +dish parma: Pizza Parma :: € 5.75 +dish fungi: Pizza funghi :: € 5.5 +dish mamma_mia: Pizza mamma mia :: € 5.5 +dish napoletana: Pizza Napoletana :: € 5.75 +dish exotic: Pizza exotic :: € 5.75 +dish siciliana: Pizza Siciliana :: € 5.75 +dish michelangelo: Pizza Michelangelo :: € 5.75 +dish roma: Pizza Roma :: € 5.75 +dish torno: Pizza torno :: € 5.75 +dish bolognese: Pizza bolognese :: € 6 +dish hawaii: Pizza hawaï :: € 7 +dish cipolla: Pizza cipolla :: € 7 +dish dolce_vita: Pizza dolce vita :: € 7 +dish valentino: Pizza valentino :: € 7 +dish vegateriana: Pizza vegateriana :: € 7.7 +dish la_donna: Pizza la donna :: € 7.7 +dish tropical: Pizza tropical :: € 7.7 +dish quattro_stagioni: Pizza quattro stagioni :: € 7.7 +dish romana: Pizza Romana :: € 7.7 +dish diabolo: Pizza diabolo :: € 7.7 +dish turkish: Pizza Turkish :: € 7.7 +dish cesar: Pizza Cesar :: € 7.7 +dish calzone: Pizza calzone :: € 8 +dish calzone_vegetariana: Pizza calzone Vegetariana :: € 8 +dish quattro_formaggi: Pizza quattro formaggi :: € 8 +dish frutti_di_mare: Pizza frutti di mare :: € 8 +dish gerookte_ham_en_rucola: Pizza gerookte ham en rucola :: € 8 +dish van_de_chef: Pizza van de chef :: € 9 +dish milano: Pizza Milano :: € 9 +dish soronto: Pizza soronto :: € 9.7 +dish prima_donna: Pizza Prima Donna :: € 9.7 diff --git a/s5.hlds b/s5.hlds new file mode 100644 index 0000000..eda521c --- /dev/null +++ b/s5.hlds @@ -0,0 +1,190 @@ +============================ +s5: S5 + osm https://www.openstreetmap.org/node/3752879366 + address Krijgslaan 281, 9000 Gent + website https://www.ugent.be/student/nl/meer-dan-studeren/resto/restos/restocampussterre.htm +============================ + +dish sandwich_kaas: Broodje Kaas -- Kaas, ei, komkommer, sla, tomaat en mayonaise + single_choice sandwich: Broodje + small_white: Klein wit € 1.40 + small_brown: Klein bruin € 1.40 + large_white: Groot wit € 2.10 + large_brown: Groot bruin € 2.10 + quattro: Quattro € 2.10 + +dish sandwich_kruidenkaas: Broodje Kruidenkaas -- Kruidenkaas, ei, komkommer, sla en tomaat + single_choice sandwich: Broodje + small_white: Klein wit € 1.40 + small_brown: Klein bruin € 1.40 + large_white: Groot wit € 2.10 + large_brown: Groot bruin € 2.10 + quattro: Quattro € 2.10 + +dish sandwich_kipcurry: Broodje Kip curry -- Kip curry, ei, komkommer, sla en tomaat + single_choice sandwich: Broodje + small_white: Klein wit € 1.50 + small_brown: Klein bruin € 1.50 + large_white: Groot wit € 2.20 + large_brown: Groot bruin € 2.20 + quattro: Quattro € 2.20 + +dish sandwich_kipcurryhawa: Broodje Kip curry Hawaï -- Kip curry, ananas, ei, komkommer, sla en tomaat + single_choice sandwich: Broodje + small_white: Klein wit € 1.50 + small_brown: Klein bruin € 1.50 + large_white: Groot wit € 2.20 + large_brown: Groot bruin € 2.20 + quattro: Quattro € 2.20 + +dish sandwich_vissalade: Broodje Vissalade -- Duurzame vissalade, tomaat, sla, komkommer en ei + single_choice sandwich: Broodje + small_white: Klein wit € 1.50 + small_brown: Klein bruin € 1.50 + large_white: Groot wit € 2.30 + large_brown: Groot bruin € 2.30 + quattro: Quattro € 2.30 + +dish sandwich_ham: Broodje Ham -- Ham, ei, komkommer, sla, tomaat en mayonaise + single_choice sandwich: Broodje + small_white: Klein wit € 1.50 + small_brown: Klein bruin € 1.50 + large_white: Groot wit € 2.30 + large_brown: Groot bruin € 2.30 + quattro: Quattro € 2.30 + +dish sandwich_prepare: Broodje Preparé -- Preparé, ei, komkommer, sla en tomaat + single_choice sandwich: Broodje + small_white: Klein wit € 1.50 + small_brown: Klein bruin € 1.50 + large_white: Groot wit € 2.30 + large_brown: Groot bruin € 2.30 + quattro: Quattro € 2.30 + +dish sandwich_springbreak: Broodje Spring break -- Erwten-munt spread, komkommer, radijs, sla, croutons, cocktailsaus + single_choice sandwich: Broodje + small_white: Klein wit € 1.50 + small_brown: Klein bruin € 1.50 + large_white: Groot wit € 2.40 + large_brown: Groot bruin € 2.40 + quattro: Quattro € 2.40 + +dish sandwich_argenteuil: Broodje Argenteuil -- Ham, asperge, ei, komkommer, sla, tomaat en mayonaise + single_choice sandwich: Broodje + small_white: Klein wit € 1.50 + small_brown: Klein bruin € 1.50 + large_white: Groot wit € 2.40 + large_brown: Groot bruin € 2.40 + quattro: Quattro € 2.40 + +dish sandwich_brie: Broodje Brie -- Brie, honing, pijnboompitten, sla + single_choice sandwich: Broodje + small_white: Klein wit € 1.50 + small_brown: Klein bruin € 1.50 + large_white: Groot wit € 2.50 + large_brown: Groot bruin € 2.50 + quattro: Quattro € 2.50 + +dish sandwich_caesar: Broodje Caesar -- Kippenreepjes, Gran Moravia kaasschilfers, croutons, sla en caesardressing + single_choice sandwich: Broodje + small_white: Klein wit € 1.50 + small_brown: Klein bruin € 1.50 + large_white: Groot wit € 2.50 + large_brown: Groot bruin € 2.50 + quattro: Quattro € 2.50 + +dish sandwich_martino: Broodje Martino -- Preparé, augurk, tomaat, mosterd en tabasco + single_choice sandwich: Broodje + small_white: Klein wit € 1.60 + small_brown: Klein bruin € 1.60 + large_white: Groot wit € 2.40 + large_brown: Groot bruin € 2.40 + quattro: Quattro € 2.40 + +dish sandwich_maison: Broodje Maison -- Ham, kaas, augurk, ei, sla, tomaat, cocktailsaus en mayonaise + single_choice sandwich: Broodje + small_white: Klein wit € 1.60 + small_brown: Klein bruin € 1.60 + large_white: Groot wit € 2.40 + large_brown: Groot bruin € 2.40 + quattro: Quattro € 2.40 + +dish sandwich_tropical: Broodje Tropical -- Ham, kaas, ananas, ei, sla, cocktailsaus + single_choice sandwich: Broodje + small_white: Klein wit € 1.60 + small_brown: Klein bruin € 1.60 + large_white: Groot wit € 2.40 + large_brown: Groot bruin € 2.40 + quattro: Quattro € 2.40 + +dish sandwich_groentespread: Broodje Groentespread -- Weekelijks wisselende groentespread + single_choice sandwich: Broodje + small_white: Klein wit € 1.60 + small_brown: Klein bruin € 1.60 + large_white: Groot wit € 2.60 + large_brown: Groot bruin € 2.60 + quattro: Quattro € 2.60 + +dish sandwich_gerooktezalmmetkruidenkaas: Broodje Gerookte zalm met kruidenkaas -- Gerookte zalm, kruidenkaas en ui + single_choice sandwich: Broodje + small_white: Klein wit € 1.60 + small_brown: Klein bruin € 1.60 + large_white: Groot wit € 2.60 + large_brown: Groot bruin € 2.60 + quattro: Quattro € 2.60 + +dish sandwich_toscane: Broodje Toscane -- Mozzarella, prosciutto ham, sla en tomatensalsa + single_choice sandwich: Broodje + small_white: Klein wit € 1.60 + small_brown: Klein bruin € 1.60 + large_white: Groot wit € 2.70 + large_brown: Groot bruin € 2.70 + quattro: Quattro € 2.70 + +dish sandwich_geitenkaas: Broodje Geitenkaas -- Geitenkaas, appel, honing en sla + single_choice sandwich: Broodje + small_white: Klein wit € 1.70 + small_brown: Klein bruin € 1.70 + large_white: Groot wit € 2.60 + large_brown: Groot bruin € 2.60 + quattro: Quattro € 2.60 + +dish sandwich_tomaatmozzarella: Broodje Tomaat-mozzarella -- Mozzarella, tomaat, basilicumpesto en sla + single_choice sandwich: Broodje + small_white: Klein wit € 1.70 + small_brown: Klein bruin € 1.70 + large_white: Groot wit € 2.60 + large_brown: Groot bruin € 2.60 + quattro: Quattro € 2.60 + +dish sandwich_hoevebroodje: Broodje Hoevebroodje -- Geitenkaas, appel, honing, gebakken spek en sla + single_choice sandwich: Broodje + small_white: Klein wit € 1.70 + small_brown: Klein bruin € 1.70 + large_white: Groot wit € 2.60 + large_brown: Groot bruin € 2.60 + quattro: Quattro € 2.60 + +dish yoghurt: Natuuryoghurt € 0.4 +dish yofu: Plantaardige yofu € 1 +dish yoghurt_muesli: Yoghurt met muesli € 1 +dish greek_fruit_yoghurt: Griekse vruchtenyoghurt € 1.4 +dish chocolate_mousse: Chocomousse € 1.4 +dish speculoos_mousse: Speculaasmousse € 1.4 +dish soy_dessert: Soja dessert € 0.7 +dish tiramisu: Tiramisu € 1.4 +dish muffin: Muffin € 1 +dish donut: Donut € 1 +dish ice_variation: IJsvariatie € 2.3 +dish fruit: Fruit € 0.5 +dish nuts_fruit: Nuts & fruit € 1.5 + +dish chocolate_milk: Koude chocolademelk € 0.8 +dish juice: Fruitsap 20 cl Fair Trade € 0.8 +dish water: Bruisend water 50 cl € 0.8 +dish perfumed_water: Gearomatiseerd water 50 cl € 1 +dish bionade: Bionade € 1.5 +dish finley: Finley € 1 +dish iced_coffee: IJskoffie € 2 +dish iced_tea: IJsthee € 2 +dish smoothie: Smoothie € 2 diff --git a/s5_generate.py b/s5_generate.py new file mode 100755 index 0000000..60e3725 --- /dev/null +++ b/s5_generate.py @@ -0,0 +1,98 @@ +#!/usr/bin/env python3 + +print( + """============================ +s5: S5 + osm https://www.openstreetmap.org/node/3752879366 + address Krijgslaan 281, 9000 Gent + website https://www.ugent.be/student/nl/meer-dan-studeren/resto/restos/restocampussterre.htm +============================""" +) + +# Paste menu from https://www.ugent.be/student/nl/meer-dan-studeren/resto/broodjes/overzicht.htm +# here +MENU = [ + l.split("\t") + for l in """ +Spring break Erwten-munt spread, komkommer, radijs, sla, croutons, cocktailsaus € 1,50 € 2,40 +Groentespread Weekelijks wisselende groentespread € 1,60 € 2,60 +Brie Brie, honing, pijnboompitten, sla € 1,50 € 2,50 +Geitenkaas Geitenkaas, appel, honing en sla € 1,70 € 2,60 +Kaas Kaas, ei, komkommer, sla, tomaat en mayonaise € 1,40 € 2,10 +Kruidenkaas Kruidenkaas, ei, komkommer, sla en tomaat € 1,40 € 2,10 +Tomaat-mozzarella Mozzarella, tomaat, basilicumpesto en sla € 1,70 € 2,60 +Kip curry Kip curry, ei, komkommer, sla en tomaat € 1,50 € 2,20 +Kip curry Hawaï Kip curry, ananas, ei, komkommer, sla en tomaat € 1,50 € 2,20 +Caesar Kippenreepjes, Gran Moravia kaasschilfers, croutons, sla en caesardressing € 1,50 € 2,50 +Gerookte zalm met kruidenkaas Gerookte zalm, kruidenkaas en ui € 1,60 € 2,60 +Vissalade Duurzame vissalade, tomaat, sla, komkommer en ei € 1,50 € 2,30 +Ham Ham, ei, komkommer, sla, tomaat en mayonaise € 1,50 € 2,30 +Preparé Preparé, ei, komkommer, sla en tomaat € 1,50 € 2,30 +Martino Preparé, augurk, tomaat, mosterd en tabasco € 1,60 € 2,40 +Hoevebroodje Geitenkaas, appel, honing, gebakken spek en sla € 1,70 € 2,60 +Maison Ham, kaas, augurk, ei, sla, tomaat, cocktailsaus en mayonaise € 1,60 € 2,40 +Tropical Ham, kaas, ananas, ei, sla, cocktailsaus € 1,60 € 2,40 +Toscane Mozzarella, prosciutto ham, sla en tomatensalsa € 1,60 € 2,70 +Argenteuil Ham, asperge, ei, komkommer, sla, tomaat en mayonaise € 1,50 € 2,40 +""".strip().split( + "\n" + ) +] +# Sort by price. This fails if price is not always exactly "€ x,xx" but whatever +MENU.sort(key=lambda dish: dish[2] + dish[3]) + +SANDWICHES = [ + [("small_white", "Klein wit "), ("small_brown", "Klein bruin"),], # First price + [ # Second price + ("large_white", "Groot wit "), + ("large_brown", "Groot bruin"), + ("quattro", " Quattro "), + ], +] + + +def name_to_id(name): + return "".join( + filter(lambda c: ord("a") <= ord(c) <= ord("z"), name.lower().replace("é", "e")) + ) + + +for dish in MENU: + print() + name, description = dish[0], dish[1] + prices = [p.replace(",", ".") for p in dish[2:]] + + print( + "dish sandwich_{}: Broodje {} -- {}".format(name_to_id(name), name, description) + ) + print("\tsingle_choice sandwich: Broodje") + for sandwiches, price in zip(SANDWICHES, prices): + for sw_id, sw_name in sandwiches: + print("\t\t{}: {} {}".format(sw_id, sw_name, price)) + +print( + """ +dish yoghurt: Natuuryoghurt € 0.4 +dish yofu: Plantaardige yofu € 1 +dish yoghurt_muesli: Yoghurt met muesli € 1 +dish greek_fruit_yoghurt: Griekse vruchtenyoghurt € 1.4 +dish chocolate_mousse: Chocomousse € 1.4 +dish speculoos_mousse: Speculaasmousse € 1.4 +dish soy_dessert: Soja dessert € 0.7 +dish tiramisu: Tiramisu € 1.4 +dish muffin: Muffin € 1 +dish donut: Donut € 1 +dish ice_variation: IJsvariatie € 2.3 +dish fruit: Fruit € 0.5 +dish nuts_fruit: Nuts & fruit € 1.5 + +dish chocolate_milk: Koude chocolademelk € 0.8 +dish juice: Fruitsap 20 cl Fair Trade € 0.8 +dish water: Bruisend water 50 cl € 0.8 +dish perfumed_water: Gearomatiseerd water 50 cl € 1 +dish bionade: Bionade € 1.5 +dish finley: Finley € 1 +dish iced_coffee: IJskoffie € 2 +dish iced_tea: IJsthee € 2 +dish smoothie: Smoothie € 2""" +) diff --git a/simpizza.hlds b/simpizza.hlds new file mode 100644 index 0000000..42a744c --- /dev/null +++ b/simpizza.hlds @@ -0,0 +1,268 @@ +============================ +simpizza: Simpizza + osm https://www.openstreetmap.org/node/5803560353 + address De Pintelaan 252, 9000 Gent + phone +32 9 321 02 00 + website https://www.simpizza.be/ + # Op bovenstaande website kan men ook online bestellen +============================ + +size: Grootte + small: Small -- 27 cm € 9.95 + medium: Medium -- 30 cm € 12.95 + large: Large -- 37 cm € 15.95 + +base: Bodem + italian: Italian classic :: {no_text} + cheesy: Cheesy crust € 2 + +sauce: Extra potje saus + garlic_sauce: Looksaus € 0.75 + bbq: Barbecuesaus € 0.35 + sweet_sour: Zoetzure saus € 0.35 + ketchup: Ketchup € 0.75 + mayo: Mayonaise € 0.75 + +sauce_no_garlic: Extra potje saus (looksaus al inbegrepen) + bbq: Barbecuesaus € 0.35 + sweet_sour: Zoetzure saus € 0.35 + ketchup: Ketchup € 0.75 + mayo: Mayonaise € 0.75 + +dish margherita: Pizza margherita (veggie) -- Tomatensaus, kaas, mozzarella + single_choice size + single_choice base + multi_choice sauce +dish bolognese_de_luxe: Pizza bolognese de luxe -- Bolognesesaus, look, ui, extra gehakt :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish hawaii: Pizza Hawaï -- Ham, kip, maïs, ananas :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish popeye: Pizza Popeye (veggie) -- Extra spinazie, ei, room, extra kaas + single_choice size + single_choice base + multi_choice sauce +dish pepperoni: Pizza pepperoni -- Dubbele portie pepperoni, paprika, jalapeños :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish seafood: Pizza seafood -- Tonijn, calamares, mosselen, garnalen :: {has_fish} + single_choice size + single_choice base + multi_choice sauce +dish mega_fish: Pizza mega fish -- Ansjovis, tonijn, champignons, ui :: {has_fish} + single_choice size + single_choice base + multi_choice sauce +dish hot_pizza: Pizza hot pizzaaah!!! -- Gehakt, jalapeños, ui, pepperoni :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish salmon_delight: Pizza salmon delight -- Roomsaus, ui, gerookte zalm, kappertjes :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish full_option: Pizza full option -- Salami, paprika, ui, olijven, kip, ananas, maïs, gehakt, extra kaas :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish pitza_kebab: Pitza kebab -- Look, ui, pitavlees, potje looksaus :: {has_meat} + single_choice size + single_choice base + multi_choice sauce_no_garlic +dish multi_cheese: Pizza multi cheese (veggie) -- Gorgonzola, feta, belpaese, extra kaas + single_choice size + single_choice base + multi_choice sauce +dish creamy_multi_cheese: Pizza creamy multi cheese (veggie) -- Roomsaus, gorgonzola, feta, mozzarella, extra kaas + single_choice size + single_choice base + multi_choice sauce +dish 4_seasons: Pizza 4 seasons -- Ham, salami, champignons, paprika :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish green_fiesta: Pizza green fiësta -- Roomsaus, spinazie, look, döner kebab, potje looksaus :: {has_meat} + single_choice size + single_choice base + multi_choice sauce_no_garlic +dish veggie: Pizza veggie -- Champignons, paprika, ui, maïs, tomaat, olijven + single_choice size + single_choice base + multi_choice sauce +dish meat_lovers: Pizza meat lovers -- Ham, salami, pepperoni, extra gehakt :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish meat_lovers_deluxe: Pizza meat lovers deluxe -- Ham, salami, pepperoni, bacon, meatballs, merguez, swirl van looksaus :: {has_meat} € 2 + single_choice size + single_choice base + multi_choice sauce_no_garlic +dish scampi_mampi: Pizza scampi mampi -- Ui, look, scampi, verse tomaat :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish tabasco: Pizza tabasco -- Tabascopizzasaus, ui, paprika, champignons, pepperoni :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish funky_chicken: Pizza funky chicken -- Ui, ananas, paprika, kip :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish chicken_time: Pizza chicken time -- Kip, paprika, olijven, verse tomaten :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish creamy_chicken: Pizza creamy chicken -- Roomsaus, kip, ui, look, potje looksaus :: {has_meat} + single_choice size + single_choice base + multi_choice sauce_no_garlic +dish spicy_chicken: Pizza spicy chicken -- Rode ui, jalapeños, kip, paprika, mozzarella, potje looksaus :: {has_meat} + single_choice size + single_choice base + multi_choice sauce_no_garlic +dish meatballs: Pizza meatballs -- Gekruide gehaktballetjes, ui, paprika, verse tomaat :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish tuna: Pizza tuna -- Ui, tonijn, olijven, extra kaas :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish anchovy: Pizza anchovy -- Ui, ansjovis, paprika, olijven :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish calzone: Pizza calzone -- Dubbelgevouwen. Ham, salami, champignons, paprika, bolognesesaus :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish curry: Pizza curry -- Currysaus, champignons, ui, ananas, paprika, kip, mozzarella, potje looksaus :: {has_meat} + single_choice size + single_choice base + multi_choice sauce_no_garlic +dish bbq_chicken: Pizza chicken barbecue -- Barbecuesaus, gegrilde kip, ui, paprika :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish bbq_meatballs: Pizza barbecue meatballs -- Barbecuesaus, gekruide gehaktballetjes, ui, paprika, verse tomaat :: {has_meat} + single_choice size + single_choice base + multi_choice sauce +dish bbq_bacon: Pizza barbecue bacon -- Barbecuesaus, bacon, ui, kip, jalapeños, potje looksaus :: {has_meat} + single_choice size + single_choice base + multi_choice sauce_no_garlic +dish bbq_special: Pizza barbecue special -- Barbecuesaus, pepperoni, kip, meatballs, ui, swirl van looksaus :: {has_meat} + single_choice size + single_choice base + multi_choice sauce_no_garlic +dish bbq_merguez: Pizza merguez -- Barbecuesaus, merguez, ui, paprika, potje looksaus :: {has_meat} + single_choice size + single_choice base + multi_choice sauce_no_garlic + +dish 50_50: Pizza fifty/fifty (helften in commentaar) -- Twee pizzahelften naar keuze € 2 + single_choice size + single_choice base + multi_choice sauce + +dish diy: Pizza do it yourself -- Vier ingrediënten gratis, daarna €1 per ingrediënt op small, €1.25 op medium, €1.5 op large + single_choice size + single_choice base + multi_choice meat: Vlees + ham: Ham :: {has_meat} + salami: Salami :: {has_meat} + hot_salami: Pikante salami :: {has_meat} + minced_meat: Gehakt :: {has_meat} + chicken: Kip :: {has_meat} + kebab: Kebabvlees :: {has_meat} + merguez: Merguez :: {has_meat} + bacon: Bacon :: {has_meat} + + multi_choice fish: Vis + tuna: Tonijn :: {has_fish} + mussels: Mosselen :: {has_fish} + anchovy: Ansjovis :: {has_fish} + calamares: Calamares :: {has_fish} + shrimp: Garnalen :: {has_fish} + + multi_choice vegetables: Groenten + mushroom: Champignons + onion: Ui + garlic: Look + olives: Olijven + bell_pepper: Paprika + maize: Maïs + capers: Kappertjes + hot_peppers: Pikante pepers + pineapple: Ananas + tomato: Tomaat + + multi_choice sauces: Sauzen + bolognese: Bolognesesaus :: {has_meat} + cream: Roomsaus + tomato: Tomatensaus + tabasco: Tabascopizzasaus + bbq: Barbecuesaus + garlic: Looksaus + + multi_choice dairy: Zuivel + egg: Ei + gorgonzola: Gorgonzola + bel_paese: Bel paese + feta: Feta + extra_cheese: Extra kaas + +dish garlic_bread: Lookbroodjes natuur € 2.2 +dish garlic_bread_cheese: Lookbroodjes kaas € 2.5 +dish garlic_bread_cheese_ham: Lookbroodjes kaas en ham :: {has_meat} € 3 +dish garlic_bread_cheese_tomato: Lookbroodjes kaas en tomaat € 3 + +dish baguette_pesto: Lookbaguette pesto -- Pesto, tomatensaus, verse tomaat, mozzarella € 4.75 +dish baguette_bolognese: Lookbaguette bolognese -- Bolognesesaus, salami, mozzarella € 4.75 +dish baguette_chicken_kebab: Lookbaguette chicken kebab -- Tomatensaus, ui, kip, kebabvlees, mozzarella € 4.75 +dish baguette_tuna: Lookbaguette tuna -- Tomatensaus, ui, tonijn, olijven, mozzarella € 4.75 +dish baguette_hot: Lookbaguette hot -- Tabascotomatensaus, ui, pepperoni, jalapeños, mozzarella € 4.75 + +dish hot_and_cheesy: Hot & cheesy -- 5 stuks, inclusief potje dipsaus € 3.5 +dish usa_potatoes: USA potatoes -- 1 portie, inclusief potje dipsaus € 3.5 + +dish 8_chicken_wings: 8 chicken wings -- Met potje dipsaus :: {has_meat} € 6 +dish 16_chicken_wings: 16 chicken wings -- Met potje dipsaus :: {has_meat} € 10 +dish 8_chicken_nuggets: 8 chicken nuggets -- Met potje dipsaus :: {has_meat} € 7 +dish 16_chicken_nuggets: 16 chicken nuggets -- Met potje dipsaus :: {has_meat} € 12 + +dish salad_mix: Salade mix -- IJsbergsla, kerstomaatjes, maïs, olijven, potje bieslook € 4.75 +dish salad_mix_mozzarella: Salade mix mozzarella € 6.5 +dish salad_mix_feta: Salade mix feta € 6.5 +dish salad_mix_tuna: Salade mix tuna € 6.5 + +pasta: Pasta + spaghetti: Spaghetti + penne: Penne + +dish pasta_bolognaise: Pasta bolognaise :: {has_meat} € 8.5 + single_choice pasta +dish pasta_cheese: Pasta kaassaus (veggie) € 8.5 + single_choice pasta +dish pasta_ham_and_cheese: Pasta ham-en-kaussaus :: {has_meat} € 9.5 + single_choice pasta +dish pasta_milano: Pasta milano -- Kip, champignons, ui, room, look, curry :: {has_meat} € 9.95 + single_choice pasta +dish pasta_scampi: Pasta scampi -- Scampi, champignons, ui, room, look, curry :: {has_fish} € 9.95 + single_choice pasta +dish pasta_multi_cheese: Pasta multi cheese (veggie) € 9.95 + single_choice pasta +dish pasta_pesto_chicken: Pasta pesto chicken -- Pestoroomsaus en kip € 9.95 + single_choice pasta +dish pasta_veggie: Pasta veggie -- Tomatenroomsaus, champignons, ui, paprika, tomaat € 9.95 + single_choice pasta + +dish tiramisu: Tiramisu € 3 +dish tiramisu_speculoos: Tiramisu speculoos € 3 +dish tiramisu_oreo: Tiramisu oreo € 3