private void GetLR0_Click(object sender, EventArgs e) { SLR1Automaton auto = new SLR1Automaton(); //backEnd.fir auto.InputClosure(backEnd.closure); auto.GetInfo(backEnd.FetchOutput()); auto.Show(); GetTable.Enabled = true; }
private void FromKeyBorad_Click(object sender, EventArgs e) { string line = inputTextBox.Text; //Console.WriteLine("line :" + line); alogrithm.Analyze(line); MessageBox.Show("运行完成"); stackOutput.Clear(); InputOutput.Clear(); LogOutput.Clear(); log = alogrithm.FetchOutput(); outputLine = 0; FinishButton.Enabled = true; NextStep.Enabled = true; }