• First & Follow
  • LL(1) Table
  • Left Recursion
  • Left Factoring
  • CNF
  • SLR Table
GitHub

Welcome to LFC Playground

A collection of tools for Formal Languages and Compilators course

First & Follow Sets

Calculate First and Follow sets for your context-free grammar

Try it

LL(1) Parsing Table

Generate LL(1) parsing table and check if your grammar is LL(1)

Try it

Left Recursion

Remove left recursion from your context-free grammar

Try it

Left Factoring

Apply left factoring to your context-free grammar

Try it

Chomsky Normal Form

Convert a context-free grammar to Chomsky Normal Form (CNF)

Try it

SLR Parsing Table

Generate SLR Automaton (table to be implemented) with steps

Try it