iox/Shell.cs
/// <summary>
/// Run a REPL shell only.
/// </summary>
Run a REPL shell only.
Run a REPL shell only .
void RunRepl () {
			if (Conf.UsePowerlines) {
				ANSI.WriteLine (
					Powerline ()
					.Segment ($"IoX {Versions.IoxVersion} ", fg: DarkCyan, bg: White)
					.Segment ($" Iodine {Versions.IodineVersion} {Versions.IodineBuildDate}", fg: White, bg: DarkCyan)
					.ToAnsiString ());
			} else {
				ANSI.WriteLine ($"IOx {Versions.IoxVersion} (Iodine {Versions.IodineVersion} {Versions.IodineBuildDate})\n");
			}
			while (!shouldExit) {
				RunIteration ();
				Hinter.SaveHistory ();
			}
		}
void RunRepl ( ) { if ( Conf . UsePowerlines ) { ANSI . WriteLine ( Powerline ( ) . Segment ( $" IoX  { Versions . IoxVersion } " , fg : DarkCyan , bg : White ) . Segment ( $"  Iodine  { Versions . IodineVersion } { Versions . IodineBuildDate } " , fg : White , bg : DarkCyan ) . ToAnsiString ( ) ) ; } else { ANSI . WriteLine ( $" IOx  { Versions . IoxVersion }  (Iodine  { Versions . IodineVersion } { Versions . IodineBuildDate } ) \n " ) ; } while ( ! shouldExit ) { RunIteration ( ) ; Hinter . SaveHistory ( ) ; } }
Run a REPL shell only.
Run a REPL shell only .
// Print version information // Run a single REP iteration // Save history