public void prompt(IoState state) { IoObject result = null; processBootstrap(); while (true) { Console.Write("Io> "); string s = Console.ReadLine(); if (s.Equals("quit") || s.Equals("exit")) { break; } result = onDoCStringWithLabel(lobby, s, "prompt:"); Console.Write("==> "); if (result != null) { result.print(); } else { Console.WriteLine("why null?"); } Console.WriteLine(); } }
public static IoObject slotPrintln(IoObject target, IoObject locals, IoObject m) { target.print(); Console.WriteLine(); return(target); }
public static IoObject slotPrintln(IoObject target, IoObject locals, IoObject m) { target.print(); Console.WriteLine(); return target; }
public static IoObject slotPrint(IoObject target, IoObject locals, IoObject m) { target.print(); return(target); }
public static IoObject slotPrint(IoObject target, IoObject locals, IoObject m) { target.print(); return target; }