| logical_or_expression
postfix_expression -> primary_expression
| postfix_expression LEFT_PARE RIGHT_PARE
| postfix_expression LEFT_PARE arg_list RIGHT_PARE
primary_expression -> ID | TRUE | FALSE | CONST_INT | CONST_DOUBLE
| LEFT_PARE expression RIGHT_PARE
logical_or_expression -> logical_and_expression
| logical_or_expression OR_OP logical_and_expression
logical_and_expression -> equality_expression
| logical_and_expression AND_OP equality_expression
equality_expression -> simple_expression
| equality_expression EQUAL simple_expression
| equality_expression NOT_EQUAL simple_expression
simple_expression -> simple_expression relop additive_expression
| additive_expression
relop -> LESS_EQUAL | LESS | GREATER | GREATER_EQUAL
additive_expression -> additive_expression addop term
| term
addop -> ADD_OP | SUB_OP
term -> term mulop factor | factor
mulop -> MUL_OP | DIV_OP | MOD_OP
factor -> postfix_expression
| INC_OP factor