Illustrative structure. The walk visits every term and connector in drawing order; no input is matched or parsed.

0 / 69000 ms
Structural exploration

Paused

Arithmetic with recursion Railroad diagram of a grammar with 5 rules and 19 terms. References are not expanded. It shows structure; it does not parse input. Arithmetic with recursion Expressions refer to terms; parentheses refer back to expressions. except term + - term factor * / factor number ( expression ) - factor digit digit any decimal digit 0 0 expression term factor number digit