public static void onBreakPoint(ProseRuntime runtime, PNode source, BreakPointObject.RuntimeData rtdata, string script) { breakPointDepth++; runtime.read(script, runtime.GlobalClient); runtime.read("read file \"Libraries/REPL/onbreak.prose\"", runtime.GlobalClient); ProseREPLLoop(); breakPointDepth--; }
public static void runRegressionTest() { initNewCleanRuntime(); try { runtime.read("read file \"Libraries/REPL/regression.prose\"", runtime.GlobalClient); runtime.read("read file \"adventure.prose\"", runtime.GlobalClient); } catch (Exception e) { Console.WriteLine("Automated regression test failed: " + e.Message); Console.WriteLine("Press return to continue."); Console.ReadLine(); } }
public void run(ProseRuntime runtime) { runtime.read(script, 0, script.Count, runtime.GlobalClient); }