Skip to content
Snippets Groups Projects
Commit f864a1ab authored by Sarah Schröder's avatar Sarah Schröder
Browse files

chose simpler grammar for testing

parent 25e1b901
No related branches found
No related tags found
No related merge requests found
...@@ -5,16 +5,11 @@ public <statement> = [<robot>] [please] <command> [please] [<robot>]; ...@@ -5,16 +5,11 @@ public <statement> = [<robot>] [please] <command> [please] [<robot>];
<robot> = (tobi | robot | biron); <robot> = (tobi | robot | biron);
<command> = (<follow> | <stop> | <goto> | <deliver> | <find>); <command> = (<follow> | <stop> | <goto>);
<follow> = (follow [me] | come [with me] | let us go) [to the car]; <follow> = (follow [me]);
<stop> = (((stop | wait) [following me] [here]) | ((we (arrived at| are at | reached) | here is) [the] (car | goal))); <stop> = (stop | wait) [here];
<goto> = (go | drive) [back] to <location>; <goto> = (go to [the] <place>);
<deliver> = (bring | deliver | take) [the] <bag> to <location>;
<find> = (find | search for| ask | look for) <name> in <location> [and ask (him | her) to help us]; <place> = (place one | place two | door | start);
<bag> = (bag | groceries);
<name> = (michael | lucarelli | dombrowski | anna | beth | victoria);
<location> = (<room> | <room> <precisePlace> | <precisePlace> | <precisePlace> in <room>);
<room> = [the] (kitchen | bath room | living room | bed room);
<precisePlace> = [the] (table | sofa | couch | shelf);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment