public static void Main(string[] args) { try { var grammar = RegularGrammar.FromPath(""); var automaton = new FiniteAutomaton(grammar); automaton.Determine(); automaton.Print(); foreach (var token in SingletonAlphabet.Instance.Tokens) { Console.Write(token.Value); } Console.ReadLine(); } catch (Exception e) { Console.WriteLine(e.Message); } }