private static void Cmdme() { SystemCore ma = new SystemCore(); while (true) { Console.Write(">> "); ma.IntepreteCode(Console.ReadLine()); } }
public Entry(string what) { Thread.CurrentThread.Priority = ThreadPriority.Highest; this.InitializeComponent(); string[] dzz = (from de in this.Methodzz(what) where de.Trim() != "" select de).ToArray(); if (dzz.Length != 0) { for (int i = dzz.Length - 1; i >= 0; i--) { try { string name = new Regex("<(.*)>").Matches(dzz[i])[0].Value.Trim('<', '>'); string[] yami = dzz[i].Split(new string[1] { name + ">" }, StringSplitOptions.RemoveEmptyEntries); string code = yami[1].Trim().Trim('/', '<'); this.Methods.Add(name, code); } catch { } } try { SystemCore system = new SystemCore(this.Methods["main"], ";", this.Methods); system.IntepreteCode("Exit"); } catch { } } else { Entry.Cmdme(); } }