That works for me. (As long as we keep a list of these issues so that
On Aug 19, 11:20 am, Tony Arcieri <
tony.arci...@medioh.com> wrote:
> A quick attempt to make ranges non-associative introduces a shift/reduce
> conflict. Unfortunately the feedback yecc provides isn't terribly helpful at
> troubleshooting shift/reduce conflicts, so I'll have to look into this more.
>
> Alternatively, you can fix it in your PEG, and I'll leave it as-is in the
> yecc grammar :)
>
> On Wed, Aug 18, 2010 at 6:55 PM, Graeme Defty <
graeme.de...@gmail.com>wrote:
>
>
>
> > This is one of a series of questions which have arisen from work in
> > developing a PEG for Reia:
>
> > -- Symbols involved:
> > ..
>
> > -- Issue:
> > The current syntax rules define ranges to be right-associative, but they
> > should be non-associative.
>
> > -- Rationale:
> > Both left and right operands to a range operator (in Ruby at least) need to
> > support the <=> operator and the succ method, and ranges do not.
>
> > -- My Suggestion:
> > Make the .. operator non-associative.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Reia" group.
> > To post to this group, send email to
re...@googlegroups.com.
> > To unsubscribe from this group, send email to