Re: Fwd: Newbie requestion on operator precedence and how to resolve an s/r conflict correctly.

2008-02-20 Thread lfinsto1
"Arlen Cuss" <[EMAIL PROTECTED]> wrote: > On Feb 20, 2008 10:19 PM, <[EMAIL PROTECTED]> wrote: > In Ruby, everything is an object, and all functions return objects (even > if > it's `nil'). This makes it easy for us, since we assume (or rather, we > know) > that all functions return objects and h

Fwd: Newbie requestion on operator precedence and how to resolve an s/r conflict correctly.

2008-02-20 Thread Arlen Cuss
I didn't send this to list. Trying again, sorry! On Feb 20, 2008 10:19 PM, <[EMAIL PROTECTED]> wrote: > > A shift/reduce conflict occurs where `obj.method(args)' is seen by my > > parser. Instead of reducing when it sees the upcoming `.', it shifts, > and > > it > > ends up with the whole `obj.me