Skip to content
Snippets Groups Projects
Commit 137a4ff7 authored by skoester's avatar skoester
Browse files

updated gpsr grammar

parent 1905d9a6
No related branches found
No related tags found
No related merge requests found
......@@ -12,21 +12,21 @@ public <task> = <location_task> | <item_task> | <interact_task>;
<item_task> = (<interact_item> | <move_item> | <transport_item>) [[(and | then)] <task>];
<item_task> = (<interact_item> | <move_item> | <transport_item> ) [[(and | then)] <task>];
<interact_item> = <search_commands> [the] <items> [[and] <move_item>];
<interact_item> = <search_commands> [the] <items> [[and] (<move_item> | <item_destination>)];
<search_commands> = identify | detect | find | count;
<move_item> = <move_commands> (([the | this] <items>) | it | them );
<move_commands> = get | take | grasp ;
<transport_item> = [and] <transport_commands> [<pron>] [<items>] [<item_destination>];
<transport_item> = [and] <transport_commands> [<pron>] [<items> | <person>] [<item_destination>];
<transport_commands> = (bring | carry | retrieve) [<noname>];
<item_destination> = [<person>] [at | to] [<locations>];
<item_destination> = [<noname>] [<pron>] [<locations>];
<items> = [the] (coffee | crackers | milk | chocolate | coke | sponge);
<items> = [<pron>] (coffee | crackers | milk | chocolate | coke | sponge);
......
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