On Tue, Oct 12, 2010 at 6:54 PM, Vincent Adam Burns <discol...@gmail.com>wrote:
> Is there an active maintainer for the Lemon Parser? I'm getting some > parsing conflicts, ex: > > statement ::= IF LEFT_PAREN expression RIGHT_PAREN statement ELSE > statement. > statement ::= IF LEFT_PAREN expression RIGHT_PAREN statement. > > expr ::= expr EQ|NE|GT|GE|LT|LE expr. > expr ::= expr MOD|DIV|MOD expr. > expr ::= expr ADD|SUB expr. > expr ::= primaryExpr. > Problems with Lemon should be directed to the SQLite mailing list. However, parsing conflicts are not problems with Lemon, but rather problems with your grammar. Unfortunately there is (to my knowledge) no tutorial on how to write conflict-free LALR(1) grammers for Lemon. You have to grok LALR(1) first, then Lemon just makes sense. Perhaps you should start with a copy of the Dragon book. New copies are wildly over-priced. But it looks like you can get a used copy from Amazon for just a few bucks. http://www.amazon.com/Compilers-Principles-Techniques-Alfred-Aho/dp/0201100886 > > -- > --- You know you've achieved perfection in design, not when you have > nothing more to add, but when you have nothing more to take away. > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users