Skip to content
Snippets Groups Projects
Commit 51a79f60 authored by Günes Minareci's avatar Günes Minareci
Browse files

ToBI_GPR.grm änderung um auch antworten zu verstehen

parent 239f19ec
No related branches found
No related tags found
No related merge requests found
$$S: $robot_name $start
| $start;
$$S: $robot_name $start
| $start ;
$robot_name: tobi;
$start: $command $connect $command $connect $command
| $command $connect $command
| $command
| $grm_question
| $confirm_yes
| $confirm_no;
| $answer
| $grm_question;
$answer: $confirm_yes | $confirm_no |
$grab_object | $person | $location;
$grm_question: question to do;
......@@ -18,14 +20,14 @@ $command: $bring_command | $get_command | $find_command | $leave_command
$put_command | $go_command | $follow_command | $learn_person_command |
$stop_command | $wait_command;
$bring_command: $bringVerb $person $grep_object $praeposition $location |
$bringVerb $person $grep_object;
$get_command: $getVerb $grep_object $praeposition $location |
$getVerb $grep_object;
$find_command: $findVerb $grep_object in $location |
$findVerb $grep_object;
$bring_command: $bringVerb $person $grab_object $praeposition $location |
$bringVerb $person $grab_object;
$get_command: $getVerb $grab_object $praeposition $location |
$getVerb $grab_object;
$find_command: $findVerb $grab_object in $location |
$findVerb $grab_object;
$leave_command: $leaveVerb $room_class;
$put_command: $putVerb $grep_object $on_in $location;
$put_command: $putVerb $grab_object $on_in $location;
$go_command: $goVerb $to_into $location;
$follow_command: $followVerb $person;
$learn_person_command: $learnVerb $person;
......@@ -51,15 +53,15 @@ $to_into: to | into;
$on_in: on | in;
$praeposition: from | to ;
$bringVerb: bring;
$getVerb: get;
$findVerb: find;
$leaveVerb: leave;
$putVerb: put ;
$goVerb: go ;
$followVerb: follow ;
$bringVerb: Bring;
$getVerb: Get;
$findVerb: Find;
$leaveVerb: Leave;
$putVerb: Put ;
$goVerb: Go ;
$followVerb: Follow ;
$grep_object: $medicine_class | $stuff_class | $drink_class | $snack_class |
$grab_object: $medicine_class | $stuff_class | $drink_class | $snack_class |
$the_a_some medicine | $the_some stuff | $the_a drink | $the_a snack |
medicine | stuff |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment