[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect yychar for unambiguous GLR
From: |
Paul Eggert |
Subject: |
Re: incorrect yychar for unambiguous GLR |
Date: |
Wed, 11 Jan 2006 23:33:36 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Joel E. Denny" <address@hidden> writes:
> Why must the lookahead token be maintained in two variables? Why not just
> maintain yychar and invoke YYTRANSLATE whenever yytoken is needed?
In the case of yacc.c, it's most likely efficiency: the desire to
avoid reinvoking YYTRANSLATE. The tradeoffs are no doubt different
for GLR. (And I doubt whether anybody's measured the efficiency in
the yacc case either, at least not recently....)
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/06
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/10
- Re: incorrect yychar for unambiguous GLR, Paul Hilfinger, 2006/01/10
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/11
- Re: incorrect yychar for unambiguous GLR, Paul Hilfinger, 2006/01/11
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/11
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/11
- Re: incorrect yychar for unambiguous GLR,
Paul Eggert <=
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/30
Re: incorrect yychar for unambiguous GLR, Paul Eggert, 2006/01/11
Re: incorrect yychar for unambiguous GLR, Paul Hilfinger, 2006/01/10
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/10
- Re: incorrect yychar for unambiguous GLR, Paul Eggert, 2006/01/11
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/11
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/30
- Re: incorrect yychar for unambiguous GLR, Paul Eggert, 2006/01/30
- Re: incorrect yychar for unambiguous GLR, Joel E. Denny, 2006/01/30