BROWSER LAB

Inspect an LR grammar.

Parse extended EBNF, compare construction algorithms, inspect conflicts and download the versioned automaton IR. Press Ctrl/ + Enter to analyze.

grammar.y

0 / 100,000 bytes

Analysis

ruby.wasm worker

Loading the analyzer…

No analysis yet.

Construction choices

Analyze the same source with another algorithm to compare bounded observations. The algorithm is an invocation choice unless the grammar declares a canonical one.

AlgorithmRole
LALR(1)Compatible default
IELR(1)Preview conflict-preserving backend
LR(1)Canonical analysis
SLRFOLLOW-set reductions

Analysis runs locally in a dedicated worker. Grammar actions are parsed as text and are not executed. The worker is stopped if analysis exceeds 15 seconds.