terminators:
0: $
1: "="
2: "["
3: "]"
4: "("
5: ")"
6: "+"
7: "-"
8: "*"
9: "/"
10: "%"
11: "\"
12: "^"
13: NUM
14: ID
15: ","
non-terminators:
0: program
1: expression
2: assign_expresion
3: var_expression
4: unary_expression
5: function_call_expression
6: parament_list
7: add_expression
8: mul_expression
9: power_expression
10: S'
rules:
0: program -> expression (rule:0)
1: expression -> assign_expresion (rule:1)
2: assign_expresion -> var_expression "=" assign_expresion (rule:2)
3: unary_expression -> var_expression (rule:3)
4: var_expression -> var_expression "[" expression "]" (rule:4)
5: function_call_expression -> var_expression "(" parament_list ")" (rule:5)
6: assign_expresion -> add_expression (rule:6)
7: add_expression -> add_expression "+" mul_expression (rule:7)
8: add_expression -> add_expression "-" mul_expression (rule:8)
9: add_expression -> mul_expression (rule:9)
10: mul_expression -> mul_expression "*" power_expression (rule:10)
11: mul_expression -> mul_expression "/" power_expression (rule:11)
12: mul_expression -> mul_expression "%" power_expression (rule:12)
13: mul_expression -> mul_expression "\" power_expression (rule:13)
14: mul_expression -> power_expression (rule:14)
15: power_expression -> unary_expression "^" power_expression (rule:15)
16: power_expression -> unary_expression (rule:16)
17: unary_expression -> "(" expression ")" (rule:17)
18: unary_expression -> "+" unary_expression (rule:18)
19: unary_expression -> "-" unary_expression (rule:19)
20: unary_expression -> NUM (rule:20)
21: unary_expression -> function_call_expression (rule:21)
22: var_expression -> ID (rule:22)
23: parament_list -> <empty> (rule:23)
24: parament_list -> expression (rule:24)
25: parament_list -> parament_list "," expression (rule:25)
26: S' -> program (rule:26)
state 0:
program -> . expression , $ (rule:0)
expression -> . assign_expresion , $ (rule:1)
assign_expresion -> . var_expression "=" assign_expresion , $ (rule:2)
assign_expresion -> . add_expression , $ (rule:6)
add_expression -> . add_expression "+" mul_expression , $ (rule:7)
add_expression -> . add_expression "+" mul_expression , "+" (rule:7)
add_expression -> . add_expression "+" mul_expression , "-" (rule:7)
add_expression -> . add_expression "-" mul_expression , $ (rule:8)
add_expression -> . add_expression "-" mul_expression , "+" (rule:8)
add_expression -> . add_expression "-" mul_expression , "-" (rule:8)
add_expression -> . mul_expression , $ (rule:9)
add_expression -> . mul_expression , "+" (rule:9)
add_expression -> . mul_expression , "-" (rule:9)
mul_expression -> . mul_expression "*" power_expression , $ (rule:10)
mul_expression -> . mul_expression "*" power_expression , "+" (rule:10)
mul_expression -> . mul_expression "*" power_expression , "-" (rule:10)
mul_expression -> . mul_expression "*" power_expression , "*" (rule:10)
mul_expression -> . mul_expression "*" power_expression , "/" (rule:10)
mul_expression -> . mul_expression "*" power_expression , "%" (rule:10)
mul_expression -> . mul_expression "*" power_expression , "\" (rule:10)
mul_expression -> . mul_expression "/" power_expression , $ (rule:11)
mul_expression -> . mul_expression "/" power_expression , "+" (rule:11)
mul_expression -> . mul_expression "/" power_expression , "-" (rule:11)
mul_expression -> . mul_expression "/" power_expression , "*" (rule:11)
mul_expression -> . mul_expression "/" power_expression , "/" (rule:11)
mul_expression -> . mul_expression "/" power_expression , "%" (rule:11)
mul_expression -> . mul_expression "/" power_expression , "\" (rule:11)
mul_expression -> . mul_expression "%" power_expression , $ (rule:12)
mul_expression -> . mul_expression "%" power_expression , "+" (rule:12)
mul_expression -> . mul_expression "%" power_expression , "-" (rule:12)
mul_expression -> . mul_expression "%" power_expression , "*" (rule:12)
mul_expression -> . mul_expression "%" power_expression , "/" (rule:12)
mul_expression -> . mul_expression "%" power_expression , "%" (rule:12)
mul_expression -> . mul_expression "%" power_expression , "\" (rule:12)
mul_expression -> . mul_expression "\" power_expression , $ (rule:13)
mul_expression -> . mul_expression "\" power_expression , "+" (rule:13)
mul_expression -> . mul_expression "\" power_expression , "-" (rule:13)
mul_expression -> . mul_expression "\" power_expression , "*" (rule:13)
mul_expression -> . mul_expression "\" power_expression , "/" (rule:13)
mul_expression -> . mul_expression "\" power_expression , "%" (rule:13)
mul_expression -> . mul_expression "\" power_expression , "\" (rule:13)
mul_expression -> . power_expression , $ (rule:14)
mul_expression -> . power_expression , "+" (rule:14)
mul_expression -> . power_expression , "-" (rule:14)
mul_expression -> . power_expression , "*" (rule:14)
mul_expression -> . power_expression , "/" (rule:14)
mul_expression -> . power_expression , "%" (rule:14)
mul_expression -> . power_expression , "\" (rule:14)
power_expression -> . unary_expression "^" power_expression , $ (rule:15)
power_expression -> . unary_expression "^" power_expression , "+" (rule:15)
power_expression -> . unary_expression "^" power_expression , "-" (rule:15)
power_expression -> . unary_expression "^" power_expression , "*" (rule:15)
power_expression -> . unary_expression "^" power_expression , "/" (rule:15)
power_expression -> . unary_expression "^" power_expression , "%" (rule:15)
power_expression -> . unary_expression "^" power_expression , "\" (rule:15)
power_expression -> . unary_expression , $ (rule:16)
power_expression -> . unary_expression , "+" (rule:16)
power_expression -> . unary_expression , "-" (rule:16)
power_expression -> . unary_expression , "*" (rule:16)
power_expression -> . unary_expression , "/" (rule:16)
power_expression -> . unary_expression , "%" (rule:16)
power_expression -> . unary_expression , "\" (rule:16)
unary_expression -> . "(" expression ")" , $ (rule:17)
unary_expression -> . "(" expression ")" , "+" (rule:17)
unary_expression -> . "(" expression ")" , "-" (rule:17)
unary_expression -> . "(" expression ")" , "*" (rule:17)
unary_expression -> . "(" expression ")" , "/" (rule:17)
unary_expression -> . "(" expression ")" , "%" (rule:17)
unary_expression -> . "(" expression ")" , "\" (rule:17)
unary_expression -> . "(" expression ")" , "^" (rule:17)
unary_expression -> . "+" unary_expression , $ (rule:18)
unary_expression -> . "+" unary_expression , "+" (rule:18)
unary_expression -> . "+" unary_expression , "-" (rule:18)
unary_expression -> . "+" unary_expression , "*" (rule:18)
unary_expression -> . "+" unary_expression , "/" (rule:18)
unary_expression -> . "+" unary_expression , "%" (rule:18)
unary_expression -> . "+" unary_expression , "\" (rule:18)
unary_expression -> . "+" unary_expression , "^" (rule:18)
unary_expression -> . "-" unary_expression , $ (rule:19)
unary_expression -> . "-" unary_expression , "+" (rule:19)
unary_expression -> . "-" unary_expression , "-" (rule:19)
unary_expression -> . "-" unary_expression , "*" (rule:19)
unary_expression -> . "-" unary_expression , "/" (rule:19)
unary_expression -> . "-" unary_expression , "%" (rule:19)
unary_expression -> . "-" unary_expression , "\" (rule:19)
unary_expression -> . "-" unary_expression , "^" (rule:19)
unary_expression -> . NUM , $ (rule:20)
unary_expression -> . NUM , "+" (rule:20)
unary_expression -> . NUM , "-" (rule:20)
unary_expression -> . NUM , "*" (rule:20)
unary_expression -> . NUM , "/" (rule:20)
unary_expression -> . NUM , "%" (rule:20)
unary_expression -> . NUM , "\" (rule:20)
unary_expression -> . NUM , "^" (rule:20)
unary_expression -> . var_expression , $ (rule:3)
un