Re:Teaching Compilers Backward
by not2b on Tuesday February 23, 2021 @03:44PM
(#26242630)
gcc ripped out its bison-generated parsers in favor of recursive descent parsers long ago, for exactly this reason (also, because C++ isn't LR-n for any n, so to get bison to work as well a third pass called "spew" sat between the lexer and the Bison parser so it could do arbitrary lookahead to figure out what the tokens were).
[ Parent
| on HN ]
There are no comments on this comment yet.