Skip to content
Snippets Groups Projects
Commit c5ae2b13 authored by julia.niermann's avatar julia.niermann Committed by David Leins
Browse files

Add option to order two things

parent af7e42ed
Branches
No related tags found
No related merge requests found
...@@ -3,8 +3,9 @@ grammar ordering; ...@@ -3,8 +3,9 @@ grammar ordering;
public <restaurant> = ([tobi] [(i want) | (bring me)] [one | a ] <objects> [please]); public <restaurant> = ([tobi] [(i want) | (bring me)] [one | a ] <objects> [please]);
<objects> = (<drinks> | <combo> | <food>); <objects> = (<drinks> | <combo> | <food> | <comboTwo>);
<combo> = ((<orderings> [and | with] <orderings> [and | with] <orderings>)); <combo> = ((<orderings> [and | with] <orderings> [and | with] <orderings>));
<comboTwo> = ((<orderings> [and | with] <orderings>));
<orderings> = (<drinks> | <food>); <orderings> = (<drinks> | <food>);
<food> = ( (lemon) | (orange) | (bouillon) | (corn) | (noodles) | (pepper) | (salt) | (sauerkraut) |(seasoning_mix) | (tomatoes) | (cereal_bar_chocolate) | (cereal_bar_chocolate_banana) | (cracker) | (fruit_bar_apple) | (fruit_bar_forest_fruit) | (get_it) | (nut_fruit_mix) | (peanut_bits)); <food> = ( (lemon) | (orange) | (bouillon) | (corn) | (noodles) | (pepper) | (salt) | (sauerkraut) |(seasoning_mix) | (tomatoes) | (cereal_bar_chocolate) | (cereal_bar_chocolate_banana) | (cracker) | (fruit_bar_apple) | (fruit_bar_forest_fruit) | (get_it) | (nut_fruit_mix) | (peanut_bits));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment