On Mon, Sep 21, 2015, at 12:29, Stephen J. Turnbull wrote: > I don't know what an LL(1) parser could do offhand. As a human, I > would parse that greedily as (a if b else c) else d. That's not greedy. The greedy parsing is (a if b else (c else d)).