WikiDiscuss

WikiDiscuss


Magic Words

posts: 14214

On Sat, Nov 06, 2004 at 11:27:12PM -0800, Robin Lee Powell wrote:
> On Sat, Nov 06, 2004 at 10:53:31PM -0800, Robin Lee Powell wrote:
> > On Sat, Nov 06, 2004 at 10:39:15PM -0800, Jorge Llamb?as wrote:
> > > But even if {zo zei zei} were not allowed, I see no reason to
> > > complicate ZEI by not letting it work by order of appearance,
> > > like everything else. It looks like an exception to me.
> >
> > True.
> >
> > I hate to bring this up, but right-grouping (which is what
> > you're talking about) is very hard in PEGs. I'm sure it's
> > possible, but I've had some troubles.
>
> Errrm. Left grouping. Duh. The current version right groups.
> The *only* place that I've found in the grammar where bare left
> grouping is actually required is the RPN stuff, and as I mentioned
> I haven't tested that well.

I just re-tested it, and am in fact certain that it does *not* work
properly. It may only parse valid left-grouped RPN expressions, but
they certainly aren't parsed in a left-grouped fashion.

-Robin