Skip to content
Snippets Groups Projects
Commit 68538806 authored by kgardeja's avatar kgardeja
Browse files

changed roboNurse grammar

parent f2545762
No related branches found
No related tags found
No related merge requests found
......@@ -2,15 +2,12 @@
grammar roboNurse;
public <root> = [tobi] [please] (<command>);
<command> = (<assistance>|<pills>|<pillsspec>);
<command> = (<assistance>|<pills>);
<assistance> = [i need] [your] assistance;
<pills> = [i need] [my] (pills|pill|<aspirin>|<milk>|<coffee>|<coke>);
<pillsspec> = [i need] [the] <properties> (one|bottle);
<pills> = [i need] [my] (pills|pill|medicin|<mints>|<bubblemint>|<coke>);
<properties> = (left most|right most|blue|red|green|big|small);
<aspirin>=aspirin;
<milk> = milk;
<coffee>=coffee;
<mints> = mints;
<bubblemint>=bubblemint;
<coke> = coke;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment