Answers for "expression = term {(+ | -) term}"

0

expression = term {(+ | -) term}

<expression> ::= <term> { ( '+' | '-' ) <term> }
<term> ::= <factor> { ( '*' | '/' ) <factor> }
<factor> ::= [ '-' ] ( <number> | '(' <expression> ')' }
Posted by: Guest on July-20-2020

Browse Popular Code Answers by Language