Example #1
0
        public void Read(string PathIn)
        {
            Path = PathIn;

            // Set up the parser
            Configure = new Configure ();

            using (Stream infile =
                        new FileStream(Path, FileMode.Open, FileAccess.Read)) {
                // Create a new lexer
                Lexer Lexer = new Lexer(Path);
                // Call the lexer using the parser as the delegate
                Lexer.Process (infile, Configure);
                }

            Configure.Serialize (Console.Out);
        }
Example #2
0
 public Config()
 {
     Configure = new Configure ();
 }