Example #1
0
        public Form1()
        {
            InitializeComponent();
            stdout = new STDOUT(richTextBox1); // set up printf() for the richTextBox...

            //create_some_archetypes();  // Test results look good
            //create_some_objs();        // Test results look good

            //parse_sample_file(@"Sample_Script_Text.v1.txt");
            //parse_sample_file(@"Sample_script.round_trip.v1.txt");  // Text emitted from the previous, looks good
            //parse_sample_file(@"round_trip.pass_2.txt");            // Text emitted from the previous, 2nd round trip, looks good

            //parse_sample_file(@"Sample_erroroneous_script.v1.txt");  // Error handling is pretty awful ATM, could be enormously better...

            parse_sample_file(@"Sample_Arch_Obj_script.v2.txt");
            //parse_sample_file(@"Sample_Script.OBJ_round_trip.pass_1.txt");
            //parse_sample_file(@"NonOrderedObjFieldsTest.txt");
        }
Example #2
0
        public Form1()
        {
            InitializeComponent();
            stdout = new STDOUT(richTextBox1); // set up printf() for the richTextBox...

            //create_some_archetypes();  // Test results look good
            //create_some_objs();        // Test results look good

            //parse_sample_file(@"Sample_Script_Text.v1.txt");
            //parse_sample_file(@"Sample_script.round_trip.v1.txt");  // Text emitted from the previous, looks good
            //parse_sample_file(@"round_trip.pass_2.txt");            // Text emitted from the previous, 2nd round trip, looks good

            //parse_sample_file(@"Sample_erroroneous_script.v1.txt");  // Error handling is pretty awful ATM, could be enormously better...

            parse_sample_file(@"Sample_Arch_Obj_script.v2.txt");
            //parse_sample_file(@"Sample_Script.OBJ_round_trip.pass_1.txt");
            //parse_sample_file(@"NonOrderedObjFieldsTest.txt");
        }