Prepare a grammar, derive FIRST and FOLLOW as least fixed points, build the LL(1) table, and then watch the table drive a stack-based parser.

Edit or enter a grammar

ASCII syntax: use ->, |, and epsilon. Separate symbols with spaces. A name appearing on a left-hand side is a nonterminal; every other symbol is a terminal.

Transformation
Current form

Grammar

Preconditions and opportunities

Diagnostics