name = 'expr/2' slug = 'arithmetic expressions' description = '''\

Write a DCG with the starting symbol expr for the language of arithmetic expressions consisting of numbers (without leading zeros), addition and multiplication. Subexpressions can be grouped using parentheses.

Example words: (1+2)*3, 42*8*3, (2+1)*(3+4).

''' hint = {}