The parentheses are not part of the grammar, but added to show the parses. (((6--)--)-1)==5 ((6--)-(--1))==6 (6-(--(--1)))==7 (6-(--(-(-1))))==6 ((6--)-(-(-1)))==5 (6-(-(-(--1))))==6 (6-(-(-(-(-1)))))==5 (6-(-(--(-1))))==4