LL(1) Parser Generator. First, Follow, & Predict Sets. Table


Given a grammar in (limited) EBNF, this online tool automatically calculates the first, follow, and predict sets. It also generates LL(1) parser tables from the predict sets, as done by Fischer & LeBlanc.

The sets are shown in two formats: human-friendly tables, and machine-friendly JSON dumps. Use a JSON library to read those tables into your programs to rapidly iterate on your parser's design.

Feed me your delicious grammar, mortal.