Le 6 avr. 06 à 18:25, Bob Rossi a écrit :
On Thu, Apr 06, 2006 at 06:20:44PM +0200, Akim Demaille wrote:
Le 6 avr. 06 à 17:27, Bob Rossi a écrit :
On Thu, Apr 06, 2006 at 05:16:36PM +0200, Akim Demaille wrote:
"Bob" == Bob Rossi <[EMAIL PROTECTED]> writes:
I added the %push-parser option, so that a bison input grammar
file can
ask for itself to be a push-parser.
What should Bison knows about this? is it just a means to
select the
right skeleton, or it actually changes something for bison itself?
It is exactly like %pure-parser. It does not select a different
skeleton. In fact, %pure-parser uses the yacc.c skeleton.
Oh, great! I wasn't sure you managed to implement the push parser in
yacc.c itself. Did you try to bench your yacc.c in pull mode vs. the
stock yacc.c?
No, I didn't really understand how to do that thoroughly. Do you
have any
ideas?
Yes, there are a couple of large grammars in the testsuite. I'll toy
with you yacc.c do bench it.