"|": ast.BitOr(),
"+": ast.Add(),
"-": ast.Sub(),
+ "<<": ast.LShift(),
+ ">>": ast.RShift(),
"*": ast.Mult(),
"/": ast.FloorDiv(),
"%": ast.Mod(),
("left", "BITOR"),
("left", "BITXOR"),
("left", "BITAND"),
+ ("left", "LSHIFT", "RSHIFT"),
("left", "PLUS", "MINUS"),
("left", "MULT", "DIV", "MOD"),
("left", "INVERT"),
"""comparison : comparison PLUS comparison
| comparison MINUS comparison
| comparison MULT comparison
+ | comparison LSHIFT comparison
+ | comparison RSHIFT comparison
| comparison DIV comparison
| comparison MOD comparison
| comparison EQ comparison