Hacker News new | ask | show | jobs
by bluGill 976 days ago
Humans can normally treat C as if it is LR and get away with it, except for a few places that they can often recognize and avoid. It is a bad shortcut, but still one that you can get by with taking in a lot of code.
2 comments

Everywhere but typedef can be made LR(1) IIRC
Sure, but "get away with" is not something to strive for in a programming language. I've allways hated C for the unnecessary brainpower it sometimes takes to parse a construct.