Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Console Cons = new Console();
            Cons.Visible = true;

            //string sCode  - OUR CODE

               // Runing Run = new Runing(Cons.stdIO, sCode.Split('\n').ToList<string>());
            Runing Run = new Runing(Cons.stdIO, "Code.zpc");
            Run.ProcMess += new ProcessMessages(ProcMess);
            Thread T = new Thread(Run.Run);
            Cons.CurThread = T;
            T.Start();
        }
Exemple #2
0
 public ExprIn(Runing Prog)
     : base(Prog)
 {
     name = "in";
 }
Exemple #3
0
 public ExprIfgo(Runing Prog)
     : base(Prog)
 {
     name = "ifgo";
 }
Exemple #4
0
 public override ExprObject Clone(Runing Prog, List<string> Param)
 {
     ExprIfgo e = new ExprIfgo(Prog);
     e.param = Param;
     return e;
 }
Exemple #5
0
 public ExprReturn(Runing Prog)
     : base(Prog)
 {
     name = "return";
 }
Exemple #6
0
 public ExprSet(Runing Prog)
     : base(Prog)
 {
     name = "set";
 }
Exemple #7
0
 public ExprOut(Runing Prog)
     : base(Prog)
 {
     name = "out";
 }
Exemple #8
0
 public virtual ExprObject Clone(Runing Prog, List<string> Param)
 {
     ExprObject e =  new ExprObject(Prog);
     e.param = Param;
     return e;
 }
Exemple #9
0
 public ExprObject(Runing Prog)
 {
     this.Prog = Prog;
     param = new List<string>();
 }
Exemple #10
0
 public ExprNew(Runing Prog)
     : base(Prog)
 {
     name = "new";
 }
Exemple #11
0
 public ExprInc(Runing Prog)
     : base(Prog)
 {
     name = "inc";
 }