expr = orExpr
primaryExpr = choice [qid, literal, between lparen rparen expr]
multExpr = primaryExpr `chainl` (choice [times, divide, modulo])
addExpr = multExpr `chainl` (choice [plus, minus])
relExpr = addExpr `chainl` (choice [less, greater, lessThan, greaterThan])
eqExpr = relExpr `chainl` (choice [eq, neq])
andExpr = eqExpr `chainl` logicAnd
orExpr = andExpr `chainl` logicOr