Parse left associative operators using a greedy parser

71 Views Asked by At

This seems to be a pretty fundamental flaw of greedy parsers that you cannot parse left associative operators because infinite recursion will always occur. Is there a way to prevent this from happening or is this just reality?

0

There are 0 best solutions below