Beispiel #1
0
        static void Main(string[] args)
        {
            var sp = new SymbolParser(new SymbolGenerator(File.ReadAllText(@"B:\Code\LangReader\LangReader\LangReader\Symbols\Reader.sym")));
            SymbolState state = sp.Compute();
            ParserBuilder pb = new ParserBuilder(state);
            string j=pb.Compute();

            File.WriteAllText(@"B:\Code\LangReader\LangReader\LangReader\coz.cs", j);
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            var           sp    = new SymbolParser(new SymbolGenerator(File.ReadAllText(@"B:\Code\LangReader\LangReader\LangReader\Symbols\Reader.sym")));
            SymbolState   state = sp.Compute();
            ParserBuilder pb    = new ParserBuilder(state);
            string        j     = pb.Compute();

            File.WriteAllText(@"B:\Code\LangReader\LangReader\LangReader\coz.cs", j);
        }