adds operator grammar