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 ...
hackingoff.com