Posted Jul 3, 2012 15:46 UTC (Tue) by tjc (subscriber, #137)
[Link]
Yes, it could be made to work, but it would have to be a backtracking parser, and it would probably be slow. Most bottom-up parsers (such as those produced by bison) are LALR(1), which only has one token look-ahead.