A collection of tools for Formal Languages and Compilators course
Calculate First and Follow sets for your context-free grammar
Generate LL(1) parsing table and check if your grammar is LL(1)
Remove left recursion from your context-free grammar
Apply left factoring to your context-free grammar
Convert a context-free grammar to Chomsky Normal Form (CNF)
Generate SLR Automaton and parsing table with steps
Generate LR(1) automaton and parsing table with shift/reduce parsing
Generate LALR(1) automaton (merged LR(1) states) and parsing table
Build an NFA from a regex using Thompson's construction with step-by-step details
Convert a regex directly to a DFA (Thompson + Subset Construction)
Convert NFA to DFA via subset construction with step-by-step details
Convert a regex directly to its minimized DFA
Minimize a DFA using partition refinement with step-by-step details
Full pipeline: NFA → DFA → Min-DFA with all intermediate steps