003 reject left recursion

✓ Passing This code compiles and runs correctly.

Code

input.k

Must contain:

left-recursive

Flows

flow ~grammar click a branch to expand · @labels scroll to their anchor
grammar (expr: math)
flow ~parse click a branch to expand · @labels scroll to their anchor
parse (expr: "1", grammar: math)