Re: Help with shift/reduce conflict
As Henrik Sorensen points out, you need to be more specific about the grammar you want to produce. Here is a suggestion though: %token YYID %% expression: hier_id | method_call | paren_expr ; paren_expr: '(' expression ')' ; method_call: paren_expr '.' YYID paren_expr ; hier_id : YYID | hier_id '.' YYID ; At 12:23 +0200 2005/03/28, Henrik Sorensen wrote: On Monday 28 March 2005 00.20, Soumitra Kumar wrote: 1+3.YYID(7) has no meaning. But following is a valid expression: (YYID + YYID).YYID().YYID () + YYID() + YYID.YYID() + YYID.YYID for this reduction to make any sense, you need to show more of your grammar. What kind of operator is '.' in your grammar ? Henrik -Soumitra. --- Henrik Sorensen <[EMAIL PROTECTED]> wrote: > can you tell a bit more about what your grammar > tries to achieve ? > from your very brief description, it sounds like you > can do this: > 1+3.YYID(7) > but what would this mean ? > Henrik > > On Sunday 27 March 2005 21.37, Soumitra Kumar wrote: > > %token YYID > > %% > > expression : hier_id > > > > | method_call > > > > /* unary and secondary expression > > follows. > > > */ > > ; > > method_call : expression '.' YYID '(' expression > > ')' > > > ; > > hier_id : YYID > > > > | hier_id '.' YYID > > > > ; > > > > How to resolve the shift/reduce conflict? Please > > help. > > > -Soumitra. > > > > > > > > __ > > Do you Yahoo!? > > Yahoo! Small Business - Try our new resources > > site! > > > http://smallbusiness.yahoo.com/resources/ > > > > > > ___ > > Help-bison@gnu.org > > http://lists.gnu.org/mailman/listinfo/help-bison __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
Security Center Advisory
Security Center Advisory! We recently noticed one or more attempts to log in to your PayPal account from a foreign IP address and we have reasons to belive that your account was hijacked by a third party without your authorization. If you recently accessed your account while traveling, the unusual log in attempts may have been initiated by you. If you are the rightful holder of the account you must click the link below and then complete all steps from the following page as we try to verify your identity. Click here to verify your account If you choose to ignore our request, you leave us no choise but to temporaly suspend your account.Thank you for using PayPal! The PayPal Team Please do not reply to this e-mail. Mail sent to this address cannot be answered. For assistance, log in to your PayPal account and choose the "Help" link in the footer of any page.To receive email notifications in plain text instead of HTML, update your preferences here. PayPal Email ID PP697 Protect Your Account Info Make sure you never provide your password to fraudulent persons. PayPal automatically encrypts your confidential information using the Secure Sockets Layer protocol (SSL) with an encryption key length of 128-bits (the highest level commercially available).PayPal will never ask you to enter your password in an email.For more information on protecting yourself from fraud, please review our Security Tips at http://www.paypal.com/securitytips Protect Your Password You should never give your PayPal password to anyone, including PayPal employees. ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
Re: Help with shift/reduce conflict
Thanks. That's what I end up doing. --- Hans Aberg <[EMAIL PROTECTED]> wrote: > As Henrik Sorensen points out, you need to be more > specific about the > grammar you want to produce. Here is a suggestion > though: > > %token YYID > %% > expression: > hier_id >| method_call >| paren_expr > ; > paren_expr: > '(' expression ')' > ; > method_call: > paren_expr '.' YYID paren_expr > ; > hier_id : > YYID >| hier_id '.' YYID > ; > > > At 12:23 +0200 2005/03/28, Henrik Sorensen wrote: > >On Monday 28 March 2005 00.20, Soumitra Kumar > wrote: > >> 1+3.YYID(7) has no meaning. But following is a > valid > >> expression: > >> (YYID + YYID).YYID().YYID () + YYID() + > YYID.YYID() + > >> YYID.YYID > >for this reduction to make any sense, you need to > show more of your grammar. > >What kind of operator is '.' in your grammar ? > > > >Henrik > > > >> > >> -Soumitra. > >> > >> --- Henrik Sorensen <[EMAIL PROTECTED]> > wrote: > >> > can you tell a bit more about what your > grammar > >> > tries to achieve ? > >> > from your very brief description, it sounds > like you > >> > can do this: > >> > 1+3.YYID(7) > >> > but what would this mean ? > >> > Henrik > >> > > >> > On Sunday 27 March 2005 21.37, Soumitra Kumar > wrote: > >> > > %token YYID > >> > > %% > >> > > expression : hier_id > >> > > > >> > > | method_call > >> > > > >> > > /* unary and secondary expression > >> > > >> > follows. > >> > > >> > > */ > >> > > ; > >> > > method_call : expression '.' YYID '(' > expression > >> > > >> > ')' > >> > > >> > > ; > >> > > hier_id : YYID > >> > > > >> > > | hier_id '.' YYID > >> > > > >> > > ; > >> > > > >> > > How to resolve the shift/reduce conflict? > Please > >> > > >> > help. > >> > > >> > > -Soumitra. > >> > > > >> > > > >> > > > >> > > __ > >> > > Do you Yahoo!? > >> > > Yahoo! Small Business - Try our new > resources > >> > > >> > site! > >> > > >> > > http://smallbusiness.yahoo.com/resources/ > >> > > > >> > > > >> > > > ___ > >> > > Help-bison@gnu.org > >> > > >> > > http://lists.gnu.org/mailman/listinfo/help-bison > >> > >> __ > >> Do you Yahoo!? > >> Yahoo! Small Business - Try our new resources > site! > >> http://smallbusiness.yahoo.com/resources/ > >> > >> > >> ___ > >> Help-bison@gnu.org > http://lists.gnu.org/mailman/listinfo/help-bison > > > > > >___ > >Help-bison@gnu.org > http://lists.gnu.org/mailman/listinfo/help-bison > > > __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
Re: CCoolDrugs
Hello, Do you waant to spend less on your MEDlCATlONS? Visit MEDlCATIONS By MAAIL SHOP and SAVE OVER 75% Have a nice day. P.S. Try us and you will like ouur shop! ___ Help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison