RE: incorrect parsing

2002-01-04 Thread Simon Marlow
On Thu, Jan 03, 2002 at 05:27:43PM -, Simon Marlow wrote: '(' exp(i+1) op(a,i) ')' '(' op(a,i) exp(i+1) ')' '(' lexp(i) op(l,i) ')' '(' op(r,i) rexp(i) ')' And for the sake of fewer ambiguities, replace each op(a,i) with op(n,i) in the existing two

Re: incorrect parsing

2002-01-04 Thread Marcin 'Qrczak' Kowalczyk
Thu, 3 Jan 2002 17:27:43 -, Simon Marlow [EMAIL PROTECTED] pisze: I think it would be better to change the syntax to match the text rather than the other way around: clearly sections like (++a++b) are desirable. I would even argue that (a++b++) should mean \x - a++b++x Of course Haskell