Ex ~ {Expression}. Expression ~ Term {"+" Term}. Term ~ Factor {"*" Factor}. Factor : Variable | Compound . Compound = "(" Expression ")". Variable = Ident.