At 14:49 +0100 2002/01/12, Akim Demaille wrote: >| or_expr: >| expr {} >| | or_expr OR or_expr {} >| >| ... >| ANSWER expr WITH or_expr > >Hans is right: this is the kind of grammar transformation you ought to >do if you were using a dumb tool. But do not do that: you are going >to make your grammar much more complex, harder to maintain,
Who has said anything about grammar transformation? >and you >will even loose performances. What performance loss do you have in your mind? >Just as nobody would ever program a expr/term/factor grammar for >arithmetics in LR, Are you suggesting that that example should be removed from the Bison manual? >...you should avoid the solution above. Of, course, the question is why? Hans Aberg _______________________________________________ Freecard-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freecard-general