Grammar 0 $accept: input_list $end 1 input_list: input input_list 2 | /* empty */ 3 input: prelude 4 | startup 5 | global 6 | multiple 7 | action 8 prelude: PRELUDE c_block 9 startup: STARTUP c_block 10 global: GLOBAL '{' decl_list '}' 11 multiple: MULTIPLE int_const id c_block '{' decl_list '}' 12 @1: /* empty */ 13 action: ACTION id '(' param_list ')' @1 '{' bool_expr '}' c_block '{' assigment_list '}' 14 decl_list: decl decl_list 15 | /* empty */ 16 decl: id bool_expr c_block 17 | id bool_expr 18 assigment_list: assigment assigment_list 19 | /* empty */ 20 assigment: id bool_expr c_block 21 | id bool_expr 22 | id '.' id bool_expr c_block 23 | id '.' id bool_expr 24 param_list: param 25 | param ',' param_list 26 | /* empty */ 27 param: id id 28 bool_expr: bool_term 29 | bool_expr '|' bool_term 30 | bool_expr '^' bool_term 31 bool_term: bool_factor 32 | bool_term '&' bool_factor 33 bool_factor: trivial_bool 34 | '!' trivial_bool 35 trivial_bool: '(' bool_expr ')' 36 | '$' compare '$' 37 | id 38 | id '.' id 39 | bool_const 40 compare: int_expr '<' int_expr 41 | int_expr '>' int_expr 42 | int_expr EQ int_expr 43 | int_expr LEQ int_expr 44 | int_expr GEQ int_expr 45 | int_expr NEQ int_expr 46 int_expr: int_term 47 | int_expr '+' int_term 48 | int_expr '-' int_term 49 int_term: int_factor 50 | int_term '*' int_factor 51 | int_term '/' int_factor 52 | int_term '%' int_factor 53 int_factor: trivial_int 54 | '-' trivial_int 55 trivial_int: '(' int_expr ')' 56 | int_const 57 | '#' 58 | id '.' '#' 59 id: ID 60 c_block: C_BLOCK 61 int_const: INT_CONST 62 bool_const: BOOL_CONST Terminals, with rules where they appear $end (0) 0 '!' (33) 34 '#' (35) 57 58 '$' (36) 36 '%' (37) 52 '&' (38) 32 '(' (40) 13 35 55 ')' (41) 13 35 55 '*' (42) 50 '+' (43) 47 ',' (44) 25 '-' (45) 48 54 '.' (46) 22 23 38 58 '/' (47) 51 '<' (60) 40 '>' (62) 41 '^' (94) 30 '{' (123) 10 11 13 '|' (124) 29 '}' (125) 10 11 13 error (256) C_BLOCK (258) 60 PRELUDE (259) 8 MULTIPLE (260) 11 STARTUP (261) 9 ACTION (262) 13 EQ (263) 42 LEQ (264) 43 GEQ (265) 44 NEQ (266) 45 BOOL_CONST (267) 62 INT_CONST (268) 61 ID (269) 59 GLOBAL (270) 10 Nonterminals, with rules where they appear $accept (35) on left: 0 input_list (36) on left: 1 2, on right: 0 1 input (37) on left: 3 4 5 6 7, on right: 1 prelude (38) on left: 8, on right: 3 startup (39) on left: 9, on right: 4 global (40) on left: 10, on right: 5 multiple (41) on left: 11, on right: 6 action (42) on left: 13, on right: 7 @1 (43) on left: 12, on right: 13 decl_list (44) on left: 14 15, on right: 10 11 14 decl (45) on left: 16 17, on right: 14 assigment_list (46) on left: 18 19, on right: 13 18 assigment (47) on left: 20 21 22 23, on right: 18 param_list (48) on left: 24 25 26, on right: 13 25 param (49) on left: 27, on right: 24 25 bool_expr (50) on left: 28 29 30, on right: 13 16 17 20 21 22 23 29 30 35 bool_term (51) on left: 31 32, on right: 28 29 30 32 bool_factor (52) on left: 33 34, on right: 31 32 trivial_bool (53) on left: 35 36 37 38 39, on right: 33 34 compare (54) on left: 40 41 42 43 44 45, on right: 36 int_expr (55) on left: 46 47 48, on right: 40 41 42 43 44 45 47 48 55 int_term (56) on left: 49 50 51 52, on right: 46 47 48 50 51 52 int_factor (57) on left: 53 54, on right: 49 50 51 52 trivial_int (58) on left: 55 56 57 58, on right: 53 54 id (59) on left: 59, on right: 11 13 16 17 20 21 22 23 27 37 38 58 c_block (60) on left: 60, on right: 8 9 11 13 16 20 22 int_const (61) on left: 61, on right: 11 56 bool_const (62) on left: 62, on right: 39 state 0 0 $accept: . input_list $end PRELUDE shift, and go to state 1 MULTIPLE shift, and go to state 2 STARTUP shift, and go to state 3 ACTION shift, and go to state 4 GLOBAL shift, and go to state 5 $default reduce using rule 2 (input_list) input_list go to state 6 input go to state 7 prelude go to state 8 startup go to state 9 global go to state 10 multiple go to state 11 action go to state 12 state 1 8 prelude: PRELUDE . c_block C_BLOCK shift, and go to state 13 c_block go to state 14 state 2 11 multiple: MULTIPLE . int_const id c_block '{' decl_list '}' INT_CONST shift, and go to state 15 int_const go to state 16 state 3 9 startup: STARTUP . c_block C_BLOCK shift, and go to state 13 c_block go to state 17 state 4 13 action: ACTION . id '(' param_list ')' @1 '{' bool_expr '}' c_block '{' assigment_list '}' ID shift, and go to state 18 id go to state 19 state 5 10 global: GLOBAL . '{' decl_list '}' '{' shift, and go to state 20 state 6 0 $accept: input_list . $end $end shift, and go to state 21 state 7 1 input_list: input . input_list PRELUDE shift, and go to state 1 MULTIPLE shift, and go to state 2 STARTUP shift, and go to state 3 ACTION shift, and go to state 4 GLOBAL shift, and go to state 5 $default reduce using rule 2 (input_list) input_list go to state 22 input go to state 7 prelude go to state 8 startup go to state 9 global go to state 10 multiple go to state 11 action go to state 12 state 8 3 input: prelude . $default reduce using rule 3 (input) state 9 4 input: startup . $default reduce using rule 4 (input) state 10 5 input: global . $default reduce using rule 5 (input) state 11 6 input: multiple . $default reduce using rule 6 (input) state 12 7 input: action . $default reduce using rule 7 (input) state 13 60 c_block: C_BLOCK . $default reduce using rule 60 (c_block) state 14 8 prelude: PRELUDE c_block . $default reduce using rule 8 (prelude) state 15 61 int_const: INT_CONST . $default reduce using rule 61 (int_const) state 16 11 multiple: MULTIPLE int_const . id c_block '{' decl_list '}' ID shift, and go to state 18 id go to state 23 state 17 9 startup: STARTUP c_block . $default reduce using rule 9 (startup) state 18 59 id: ID . $default reduce using rule 59 (id) state 19 13 action: ACTION id . '(' param_list ')' @1 '{' bool_expr '}' c_block '{' assigment_list '}' '(' shift, and go to state 24 state 20 10 global: GLOBAL '{' . decl_list '}' ID shift, and go to state 18 $default reduce using rule 15 (decl_list) decl_list go to state 25 decl go to state 26 id go to state 27 state 21 0 $accept: input_list $end . $default accept state 22 1 input_list: input input_list . $default reduce using rule 1 (input_list) state 23 11 multiple: MULTIPLE int_const id . c_block '{' decl_list '}' C_BLOCK shift, and go to state 13 c_block go to state 28 state 24 13 action: ACTION id '(' . param_list ')' @1 '{' bool_expr '}' c_block '{' assigment_list '}' ID shift, and go to state 18 $default reduce using rule 26 (param_list) param_list go to state 29 param go to state 30 id go to state 31 state 25 10 global: GLOBAL '{' decl_list . '}' '}' shift, and go to state 32 state 26 14 decl_list: decl . decl_list ID shift, and go to state 18 $default reduce using rule 15 (decl_list) decl_list go to state 33 decl go to state 26 id go to state 27 state 27 16 decl: id . bool_expr c_block 17 | id . bool_expr BOOL_CONST shift, and go to state 34 ID shift, and go to state 18 '(' shift, and go to state 35 '!' shift, and go to state 36 '$' shift, and go to state 37 bool_expr go to state 38 bool_term go to state 39 bool_factor go to state 40 trivial_bool go to state 41 id go to state 42 bool_const go to state 43 state 28 11 multiple: MULTIPLE int_const id c_block . '{' decl_list '}' '{' shift, and go to state 44 state 29 13 action: ACTION id '(' param_list . ')' @1 '{' bool_expr '}' c_block '{' assigment_list '}' ')' shift, and go to state 45 state 30 24 param_list: param . 25 | param . ',' param_list ',' shift, and go to state 46 $default reduce using rule 24 (param_list) state 31 27 param: id . id ID shift, and go to state 18 id go to state 47 state 32 10 global: GLOBAL '{' decl_list '}' . $default reduce using rule 10 (global) state 33 14 decl_list: decl decl_list . $default reduce using rule 14 (decl_list) state 34 62 bool_const: BOOL_CONST . $default reduce using rule 62 (bool_const) state 35 35 trivial_bool: '(' . bool_expr ')' BOOL_CONST shift, and go to state 34 ID shift, and go to state 18 '(' shift, and go to state 35 '!' shift, and go to state 36 '$' shift, and go to state 37 bool_expr go to state 48 bool_term go to state 39 bool_factor go to state 40 trivial_bool go to state 41 id go to state 42 bool_const go to state 43 state 36 34 bool_factor: '!' . trivial_bool BOOL_CONST shift, and go to state 34 ID shift, and go to state 18 '(' shift, and go to state 35 '$' shift, and go to state 37 trivial_bool go to state 49 id go to state 42 bool_const go to state 43 state 37 36 trivial_bool: '$' . compare '$' INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 compare go to state 53 int_expr go to state 54 int_term go to state 55 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 38 16 decl: id bool_expr . c_block 17 | id bool_expr . 29 bool_expr: bool_expr . '|' bool_term 30 | bool_expr . '^' bool_term C_BLOCK shift, and go to state 13 '|' shift, and go to state 60 '^' shift, and go to state 61 $default reduce using rule 17 (decl) c_block go to state 62 state 39 28 bool_expr: bool_term . 32 bool_term: bool_term . '&' bool_factor '&' shift, and go to state 63 $default reduce using rule 28 (bool_expr) state 40 31 bool_term: bool_factor . $default reduce using rule 31 (bool_term) state 41 33 bool_factor: trivial_bool . $default reduce using rule 33 (bool_factor) state 42 37 trivial_bool: id . 38 | id . '.' id '.' shift, and go to state 64 $default reduce using rule 37 (trivial_bool) state 43 39 trivial_bool: bool_const . $default reduce using rule 39 (trivial_bool) state 44 11 multiple: MULTIPLE int_const id c_block '{' . decl_list '}' ID shift, and go to state 18 $default reduce using rule 15 (decl_list) decl_list go to state 65 decl go to state 26 id go to state 27 state 45 13 action: ACTION id '(' param_list ')' . @1 '{' bool_expr '}' c_block '{' assigment_list '}' $default reduce using rule 12 (@1) @1 go to state 66 state 46 25 param_list: param ',' . param_list ID shift, and go to state 18 $default reduce using rule 26 (param_list) param_list go to state 67 param go to state 30 id go to state 31 state 47 27 param: id id . $default reduce using rule 27 (param) state 48 29 bool_expr: bool_expr . '|' bool_term 30 | bool_expr . '^' bool_term 35 trivial_bool: '(' bool_expr . ')' ')' shift, and go to state 68 '|' shift, and go to state 60 '^' shift, and go to state 61 state 49 34 bool_factor: '!' trivial_bool . $default reduce using rule 34 (bool_factor) state 50 55 trivial_int: '(' . int_expr ')' INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_expr go to state 69 int_term go to state 55 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 51 54 int_factor: '-' . trivial_int INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '#' shift, and go to state 52 trivial_int go to state 70 id go to state 58 int_const go to state 59 state 52 57 trivial_int: '#' . $default reduce using rule 57 (trivial_int) state 53 36 trivial_bool: '$' compare . '$' '$' shift, and go to state 71 state 54 40 compare: int_expr . '<' int_expr 41 | int_expr . '>' int_expr 42 | int_expr . EQ int_expr 43 | int_expr . LEQ int_expr 44 | int_expr . GEQ int_expr 45 | int_expr . NEQ int_expr 47 int_expr: int_expr . '+' int_term 48 | int_expr . '-' int_term EQ shift, and go to state 72 LEQ shift, and go to state 73 GEQ shift, and go to state 74 NEQ shift, and go to state 75 '<' shift, and go to state 76 '>' shift, and go to state 77 '+' shift, and go to state 78 '-' shift, and go to state 79 state 55 46 int_expr: int_term . 50 int_term: int_term . '*' int_factor 51 | int_term . '/' int_factor 52 | int_term . '%' int_factor '*' shift, and go to state 80 '/' shift, and go to state 81 '%' shift, and go to state 82 $default reduce using rule 46 (int_expr) state 56 49 int_term: int_factor . $default reduce using rule 49 (int_term) state 57 53 int_factor: trivial_int . $default reduce using rule 53 (int_factor) state 58 58 trivial_int: id . '.' '#' '.' shift, and go to state 83 state 59 56 trivial_int: int_const . $default reduce using rule 56 (trivial_int) state 60 29 bool_expr: bool_expr '|' . bool_term BOOL_CONST shift, and go to state 34 ID shift, and go to state 18 '(' shift, and go to state 35 '!' shift, and go to state 36 '$' shift, and go to state 37 bool_term go to state 84 bool_factor go to state 40 trivial_bool go to state 41 id go to state 42 bool_const go to state 43 state 61 30 bool_expr: bool_expr '^' . bool_term BOOL_CONST shift, and go to state 34 ID shift, and go to state 18 '(' shift, and go to state 35 '!' shift, and go to state 36 '$' shift, and go to state 37 bool_term go to state 85 bool_factor go to state 40 trivial_bool go to state 41 id go to state 42 bool_const go to state 43 state 62 16 decl: id bool_expr c_block . $default reduce using rule 16 (decl) state 63 32 bool_term: bool_term '&' . bool_factor BOOL_CONST shift, and go to state 34 ID shift, and go to state 18 '(' shift, and go to state 35 '!' shift, and go to state 36 '$' shift, and go to state 37 bool_factor go to state 86 trivial_bool go to state 41 id go to state 42 bool_const go to state 43 state 64 38 trivial_bool: id '.' . id ID shift, and go to state 18 id go to state 87 state 65 11 multiple: MULTIPLE int_const id c_block '{' decl_list . '}' '}' shift, and go to state 88 state 66 13 action: ACTION id '(' param_list ')' @1 . '{' bool_expr '}' c_block '{' assigment_list '}' '{' shift, and go to state 89 state 67 25 param_list: param ',' param_list . $default reduce using rule 25 (param_list) state 68 35 trivial_bool: '(' bool_expr ')' . $default reduce using rule 35 (trivial_bool) state 69 47 int_expr: int_expr . '+' int_term 48 | int_expr . '-' int_term 55 trivial_int: '(' int_expr . ')' ')' shift, and go to state 90 '+' shift, and go to state 78 '-' shift, and go to state 79 state 70 54 int_factor: '-' trivial_int . $default reduce using rule 54 (int_factor) state 71 36 trivial_bool: '$' compare '$' . $default reduce using rule 36 (trivial_bool) state 72 42 compare: int_expr EQ . int_expr INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_expr go to state 91 int_term go to state 55 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 73 43 compare: int_expr LEQ . int_expr INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_expr go to state 92 int_term go to state 55 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 74 44 compare: int_expr GEQ . int_expr INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_expr go to state 93 int_term go to state 55 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 75 45 compare: int_expr NEQ . int_expr INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_expr go to state 94 int_term go to state 55 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 76 40 compare: int_expr '<' . int_expr INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_expr go to state 95 int_term go to state 55 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 77 41 compare: int_expr '>' . int_expr INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_expr go to state 96 int_term go to state 55 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 78 47 int_expr: int_expr '+' . int_term INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_term go to state 97 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 79 48 int_expr: int_expr '-' . int_term INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_term go to state 98 int_factor go to state 56 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 80 50 int_term: int_term '*' . int_factor INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_factor go to state 99 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 81 51 int_term: int_term '/' . int_factor INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_factor go to state 100 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 82 52 int_term: int_term '%' . int_factor INT_CONST shift, and go to state 15 ID shift, and go to state 18 '(' shift, and go to state 50 '-' shift, and go to state 51 '#' shift, and go to state 52 int_factor go to state 101 trivial_int go to state 57 id go to state 58 int_const go to state 59 state 83 58 trivial_int: id '.' . '#' '#' shift, and go to state 102 state 84 29 bool_expr: bool_expr '|' bool_term . 32 bool_term: bool_term . '&' bool_factor '&' shift, and go to state 63 $default reduce using rule 29 (bool_expr) state 85 30 bool_expr: bool_expr '^' bool_term . 32 bool_term: bool_term . '&' bool_factor '&' shift, and go to state 63 $default reduce using rule 30 (bool_expr) state 86 32 bool_term: bool_term '&' bool_factor . $default reduce using rule 32 (bool_term) state 87 38 trivial_bool: id '.' id . $default reduce using rule 38 (trivial_bool) state 88 11 multiple: MULTIPLE int_const id c_block '{' decl_list '}' . $default reduce using rule 11 (multiple) state 89 13 action: ACTION id '(' param_list ')' @1 '{' . bool_expr '}' c_block '{' assigment_list '}' BOOL_CONST shift, and go to state 34 ID shift, and go to state 18 '(' shift, and go to state 35 '!' shift, and go to state 36 '$' shift, and go to state 37 bool_expr go to state 103 bool_term go to state 39 bool_factor go to state 40 trivial_bool go to state 41 id go to state 42 bool_const go to state 43 state 90 55 trivial_int: '(' int_expr ')' . $default reduce using rule 55 (trivial_int) state 91 42 compare: int_expr EQ int_expr . 47 int_expr: int_expr . '+' int_term 48 | int_expr . '-' int_term '+' shift, and go to state 78 '-' shift, and go to state 79 $default reduce using rule 42 (compare) state 92 43 compare: int_expr LEQ int_expr . 47 int_expr: int_expr . '+' int_term 48 | int_expr . '-' int_term '+' shift, and go to state 78 '-' shift, and go to state 79 $default reduce using rule 43 (compare) state 93 44 compare: int_expr GEQ int_expr . 47 int_expr: int_expr . '+' int_term 48 | int_expr . '-' int_term '+' shift, and go to state 78 '-' shift, and go to state 79 $default reduce using rule 44 (compare) state 94 45 compare: int_expr NEQ int_expr . 47 int_expr: int_expr . '+' int_term 48 | int_expr . '-' int_term '+' shift, and go to state 78 '-' shift, and go to state 79 $default reduce using rule 45 (compare) state 95 40 compare: int_expr '<' int_expr . 47 int_expr: int_expr . '+' int_term 48 | int_expr . '-' int_term '+' shift, and go to state 78 '-' shift, and go to state 79 $default reduce using rule 40 (compare) state 96 41 compare: int_expr '>' int_expr . 47 int_expr: int_expr . '+' int_term 48 | int_expr . '-' int_term '+' shift, and go to state 78 '-' shift, and go to state 79 $default reduce using rule 41 (compare) state 97 47 int_expr: int_expr '+' int_term . 50 int_term: int_term . '*' int_factor 51 | int_term . '/' int_factor 52 | int_term . '%' int_factor '*' shift, and go to state 80 '/' shift, and go to state 81 '%' shift, and go to state 82 $default reduce using rule 47 (int_expr) state 98 48 int_expr: int_expr '-' int_term . 50 int_term: int_term . '*' int_factor 51 | int_term . '/' int_factor 52 | int_term . '%' int_factor '*' shift, and go to state 80 '/' shift, and go to state 81 '%' shift, and go to state 82 $default reduce using rule 48 (int_expr) state 99 50 int_term: int_term '*' int_factor . $default reduce using rule 50 (int_term) state 100 51 int_term: int_term '/' int_factor . $default reduce using rule 51 (int_term) state 101 52 int_term: int_term '%' int_factor . $default reduce using rule 52 (int_term) state 102 58 trivial_int: id '.' '#' . $default reduce using rule 58 (trivial_int) state 103 13 action: ACTION id '(' param_list ')' @1 '{' bool_expr . '}' c_block '{' assigment_list '}' 29 bool_expr: bool_expr . '|' bool_term 30 | bool_expr . '^' bool_term '}' shift, and go to state 104 '|' shift, and go to state 60 '^' shift, and go to state 61 state 104 13 action: ACTION id '(' param_list ')' @1 '{' bool_expr '}' . c_block '{' assigment_list '}' C_BLOCK shift, and go to state 13 c_block go to state 105 state 105 13 action: ACTION id '(' param_list ')' @1 '{' bool_expr '}' c_block . '{' assigment_list '}' '{' shift, and go to state 106 state 106 13 action: ACTION id '(' param_list ')' @1 '{' bool_expr '}' c_block '{' . assigment_list '}' ID shift, and go to state 18 $default reduce using rule 19 (assigment_list) assigment_list go to state 107 assigment go to state 108 id go to state 109 state 107 13 action: ACTION id '(' param_list ')' @1 '{' bool_expr '}' c_block '{' assigment_list . '}' '}' shift, and go to state 110 state 108 18 assigment_list: assigment . assigment_list ID shift, and go to state 18 $default reduce using rule 19 (assigment_list) assigment_list go to state 111 assigment go to state 108 id go to state 109 state 109 20 assigment: id . bool_expr c_block 21 | id . bool_expr 22 | id . '.' id bool_expr c_block 23 | id . '.' id bool_expr BOOL_CONST shift, and go to state 34 ID shift, and go to state 18 '(' shift, and go to state 35 '.' shift, and go to state 112 '!' shift, and go to state 36 '$' shift, and go to state 37 bool_expr go to state 113 bool_term go to state 39 bool_factor go to state 40 trivial_bool go to state 41 id go to state 42 bool_const go to state 43 state 110 13 action: ACTION id '(' param_list ')' @1 '{' bool_expr '}' c_block '{' assigment_list '}' . $default reduce using rule 13 (action) state 111 18 assigment_list: assigment assigment_list . $default reduce using rule 18 (assigment_list) state 112 22 assigment: id '.' . id bool_expr c_block 23 | id '.' . id bool_expr ID shift, and go to state 18 id go to state 114 state 113 20 assigment: id bool_expr . c_block 21 | id bool_expr . 29 bool_expr: bool_expr . '|' bool_term 30 | bool_expr . '^' bool_term C_BLOCK shift, and go to state 13 '|' shift, and go to state 60 '^' shift, and go to state 61 $default reduce using rule 21 (assigment) c_block go to state 115 state 114 22 assigment: id '.' id . bool_expr c_block 23 | id '.' id . bool_expr BOOL_CONST shift, and go to state 34 ID shift, and go to state 18 '(' shift, and go to state 35 '!' shift, and go to state 36 '$' shift, and go to state 37 bool_expr go to state 116 bool_term go to state 39 bool_factor go to state 40 trivial_bool go to state 41 id go to state 42 bool_const go to state 43 state 115 20 assigment: id bool_expr c_block . $default reduce using rule 20 (assigment) state 116 22 assigment: id '.' id bool_expr . c_block 23 | id '.' id bool_expr . 29 bool_expr: bool_expr . '|' bool_term 30 | bool_expr . '^' bool_term C_BLOCK shift, and go to state 13 '|' shift, and go to state 60 '^' shift, and go to state 61 $default reduce using rule 23 (assigment) c_block go to state 117 state 117 22 assigment: id '.' id bool_expr c_block . $default reduce using rule 22 (assigment)