Re: Identifying rule responsible for lookahead

2005-03-11 Thread Hans Aberg
At 01:10 -0500 2005/03/11, Alfonso Urdaneta wrote: >> No, there is no such Bison design doc's: Only reading the Bison source code >> itself. (Apart from that somebody wrote something in Spanish, I think.) > >link ? It was a Spanish fellow "CJ" <[EMAIL PROTECTED]>, writing a thesis on his tutor's D

Re: Question about "Conditions for Using Bison" in Bison 2.0 documentation

2005-03-11 Thread Hans Aberg
At 15:11 -0800 2005/03/10, Paul Eggert wrote: >> I don't know what the default status is of works produced by X's use >> of Y's copyrighted programs, but I rather suspect that such products >> belong to X > >It depends on whether the produced works are "derivative works" of Y's >copyrighted program

Re: problem linking program containing bison-generated parser

2005-03-11 Thread Laurence Finston
On Fri, 11 Mar 2005, Frank Heckenbach wrote: > Laurence Finston wrote: > > > I've found that I prefer using Flex and Bison separately rather than > > together. If you're just starting out learning Bison, I think you > > might find it easier to write your own `yylex()' function rather than > > usi

Re: lea.y:124.34-35: $1 of `program' has no declared type

2005-03-11 Thread Laurence Finston
On Fri, 11 Mar 2005, Edulix wrote: > But I'm having problems with the lea.y file. It just complains for every rule > like this: > $ bison --verbose -d lea.y > lea.y:124.34-35: $1 of `program' has no declared type > lea.y:124.42-43: $3 of `program' has no declared type > Anyone can help me with th

Re: problem linking program containing bison-generated parser

2005-03-11 Thread Frank Heckenbach
Laurence Finston wrote: > On Thu, 10 Mar 2005, Volker Wegert wrote: > > > I'm currently trying to gain some experience with flex and bison. > > I've found that I prefer using Flex and Bison separately rather than > together. If you're just starting out learning Bison, I think you > might find i

lea.y:124.34-35: $1 of `program' has no declared type

2005-03-11 Thread Edulix
Hi ! I'm developing an interpreter with C, bison and flex. Now I have already done the flex file, the bison file, and the header file were the rule/tokens type are defined. ###header file: A lot of thins like: typedef struct { int *foo; char *bar; } Tmy_type; ###flex file: It

lea.y:124.34-35: $1 of `program' has no declared type

2005-03-11 Thread Edulix
Hi ! I'm developing an interpreter with C, bison and flex. Now I have already done the flex file, the bison file, and the header file were the rule/tokens type are defined. ###header file: A lot of thins like: typedef struct { int *foo; char *bar; } Tmy_type; ###flex file: It ha

lea.y:124.34-35: $1 of `program' has no declared type

2005-03-11 Thread Edulix
Hi ! I'm developing an interpreter with C, bison and flex. Now I have already done the flex file, the bison file, and the header file were the rule/tokens type are defined. ###header file: A lot of thins like: typedef struct { int *foo; char *bar; } Tmy_type; ###flex file: It

Re: Question about "Conditions for Using Bison" in Bison 2.0 documentation

2005-03-11 Thread Sylvain Schmitz
Paul Eggert wrote: Sylvain Schmitz <[EMAIL PROTECTED]> writes: It might have been true when these skeleton first appeared, but I don't think it is any more, since both commercial and open source implementations exist now. OK, let's solve the problem. The first step: could you please come up with a

Re: problem linking program containing bison-generated parser

2005-03-11 Thread Laurence Finston
On Thu, 10 Mar 2005, Volker Wegert wrote: > I'm currently trying to gain some experience with flex and bison. I've found that I prefer using Flex and Bison separately rather than together. If you're just starting out learning Bison, I think you might find it easier to write your own `yylex()' fu