CFG Simplifier for Automata
This program simplifies context-free grammar given from a text file. It will remove unreachable grammar, remove unproductive variables, and print out a new file containing the simplified CFG.
Look at CFG-2022.txt or CFG-test2.txt as an example on how to format the input file.