Re: Parse Tree using Bison

2012-01-10 Thread Philip Herron
On 11 January 2012 00:39, UJWAL POTLURI wrote: > Can you please show me an example of how to do. > > On Tue, Jan 10, 2012 at 3:52 AM, Hans Aberg wrote: > >> >> On 10 Jan 2012, at 01:38, UJWAL POTLURI wrote: >> >> >     I am new to Bison. I am able to parse the grammar using Bison but I >> am >> >

Re: Parse Tree using Bison

2012-01-10 Thread UJWAL POTLURI
Can you please show me an example of how to do. On Tue, Jan 10, 2012 at 3:52 AM, Hans Aberg wrote: > > On 10 Jan 2012, at 01:38, UJWAL POTLURI wrote: > > > I am new to Bison. I am able to parse the grammar using Bison but I > am > > unable to figure out how to generate the parse tree. I woul

Re: Parse Tree using Bison

2012-01-10 Thread Hans Aberg
On 10 Jan 2012, at 01:38, UJWAL POTLURI wrote: > I am new to Bison. I am able to parse the grammar using Bison but I am > unable to figure out how to generate the parse tree. I would be grateful if > anyone could help me out in this. You'll have to build it in the grammar actions. Hans _

bison doesn't parse my include file

2012-01-10 Thread Juergen Schumacher
sorry for bothering anybody, i am trying to c++ parse an include file with flex 2.5.35 and bison 2.3 on a mac os x snow leopard installation - everything without include file works perfectly. my latest attempt was: I|i BEGIN(incl); [ \t]* [^ \t\n]+ { printf(yytext); p

Parse Tree using Bison

2012-01-10 Thread UJWAL POTLURI
Hi, I am new to Bison. I am able to parse the grammar using Bison but I am unable to figure out how to generate the parse tree. I would be grateful if anyone could help me out in this. Regards, Ujwal ___ help-bison@gnu.org https://lists.gnu.org/mail