Re: Reduce-Reduce problem choosing a path

2013-06-01 Thread Adam Smalin
I thought I fixed it but I was incorrect. I reworked the rules and the error is like this Ambiguity detected. Option 1, A -> B -> A -> B -> A -> C -> D -> E -> '$' VarName

Re: Reduce-Reduce problem choosing a path

2013-05-31 Thread Adam Smalin
I completely forgot, I had an idea of how I might be able to rewrite it (using the * and + precedence examples I seen long ago). I'll get on that. FYI I am using GLR On Thu, May 30, 2013 at 5:51 PM, Hans Aberg wrote: > On 30 May 2013, at 22:02, Adam Smalin wrote: > > > Here is an example of my

Re: Reduce-Reduce problem choosing a path

2013-05-30 Thread Hans Aberg
On 30 May 2013, at 22:02, Adam Smalin wrote: > Here is an example of my input > > thing { $var.member } > > The problem is I allow > > thing { .member $var } > > So what is happening is I'd LIKE to always use $var.member but it can > reduce $var then .member which should not be allowed if $va

Reduce-Reduce problem choosing a path

2013-05-30 Thread Adam Smalin
Here is an example of my input thing { $var.member } The problem is I allow thing { .member $var } So what is happening is I'd LIKE to always use $var.member but it can reduce $var then .member which should not be allowed if $var is in front of it (or $foo or $anything). I'm not exactly sure w