Re: [HACKERS] Parser Cruft in gram.y

2012-12-20 Thread McDevitt, Charles
Another way of attack along these lines might be to use the %glr-parser and then try to cut back on all those redundant rules that were put in to avoid conflicts. The number of key words categories and such could perhaps also be reduced that way. Of course, this is mostly speculation.

Re: [HACKERS] Parser Cruft in gram.y

2012-12-20 Thread McDevitt, Charles
The GLR output from Bison is licensed under the GPL (unlike the LALR output). So using Bison's GLR mode isn't an option. Thats not the case anymore: http://www.gnu.org/software/bison/manual/html_node/Conditions.html Sorry! My mistake... I didn't realize they changed the rules. I'll