3 ms·
> Hopefully we can all agree that LALR parsers are terrible? Yes, I think most of the bad reputation LR(1) gets is from stuff that is actually LALR(1) with its
by orlp 2y ago
> Hopefully we can all agree that LALR parsers are terrible?
Yes, I think most of the bad reputation LR(1) gets is from stuff that is actually LALR(1) with its nonsense reduce-reduce conflicts.
Another great thing is that LR(1) parser generators are being written now that instead of just spitting out a 'oops there was a conflict on these two things in this state', they can actually give you back two conflicting prefixes giving you much more insight in what causes the defect in your grammar and how to fix it.