Hacker News new | past | comments | ask | show | jobs | submit login

That's a very interesting way of looking at errors.

Wouldn’t the grammar of errors have to also be LR? Doesn’t that limit the kind of errors you can report?






Yes, it does have to be LR. Which can be a real PITA if you're working with a restrictive subset of LR, like LALR. But there are other options too. LR(1) is pretty powerful, and GLR even more so.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: