Beispiel #1
0
        public static object ParseAndExecute(string sScript)
        {
            Init();
            ClassNode classNode = Parse(sScript);

            Functions.ThisNode = classNode;
            MethodNode main = classNode.GetMethod("main");
            Executer   exe  = new Executer(main);

            return(exe.Run());
        }