Re: Reusing a sub-grammar (by setting %start at runtime?)

2006-04-08 Thread Marcus Holland-Moritz
On 2006-04-06, at 18:49:20 +0200, Akim Demaille wrote: Marcus == Marcus Holland-Moritz [EMAIL PROTECTED] writes: Hi, I'm using bison for a C parser [1], for which I'm currently rewriting the part that parses expressions. While being at it, I wondered if it's possible to reuse a

Re: Reusing a sub-grammar (by setting %start at runtime?)

2006-04-06 Thread Akim Demaille
Marcus == Marcus Holland-Moritz [EMAIL PROTECTED] writes: Hi, I'm using bison for a C parser [1], for which I'm currently rewriting the part that parses expressions. While being at it, I wondered if it's possible to reuse a certain part of a bison generated parser, e.g. by setting a

Re: Reusing a sub-grammar (by setting %start at runtime?)

2006-03-26 Thread Hans Aberg
On 25 Mar 2006, at 18:14, Marcus Holland-Moritz wrote: While being at it, I wondered if it's possible to reuse a certain part of a bison generated parser, e.g. by setting a different %start token at runtime. No, all grammar data is static, and thrown away at parser runtime. The parser only