# EBNF Grammar

Arithemetic Expressions

Expression ArithExpression | MultExpression Does this grammar actually get precedence right? ArithExpression Expression '+' MultExpression | Expression '-' MultExpression MultExpression MultExpression '*' MultExpression | MultExpression '/' MultExpression | Number Number [0-9]+

Division by Zero

Division by zero is an error.