Hi All,
I am facing problem in defining the following grammar for Bison.
X -> letter { letter | digit }.
here letter and digit are terminals and X is the non terminal symbol.
I am not able to put this rule in the bison grammar form hence need
some advice on this.
in particular I am not able to
Hey Laurence,
Thanks! that was nice and simple, I should have go that :( earlier!
Regards,
Atul.
On Mon, 21 Mar 2005 11:59:49 +0100 (MET), Laurence Finston
<[EMAIL PROTECTED]> wrote:
> On Mon, 21 Mar 2005, Atul Kulkarni wrote:
>
> > how do I put the OR part of the rule inco
. Update Your Account (Service)
> 4. Re: %union errors that shouldn't be there (Laurence Finston)
>
> --
>
> Message: 1
> Date: Tue, 22 Mar 2005 14:36:27 +0100
> From: Hans Aberg <[EMAIL PROTECTED]>
> Subject: Re: Grammar definition problem.
> To: Atul Kulkarn
All,
I am facing a problem with the Grammar i am feeding to the Bison. It
throws 2 shift reduce conflicts. Please help with this I am not able
to resolve them.
I am attaching my Grammar and Bison input that I created.
The Input for Bison I created from the Grammar.
/*---
Well I would not really worry about them but one variant of Bison Yacc
just does not generate output "c" code for this grammar. That's what
worries me.
Regards,
Atul.
On 7/22/05, Laurence Finston <[EMAIL PROTECTED]> wrote:
> On Fri, 22 Jul 2005, Atul Kulkarni wrote:
>