iox/Shell.cs
/// <summary>
/// Run a single read-evaluate-print iteration.
/// </summary>
Run a single read-evaluate-print iteration.
Run a single read - evaluate - print iteration .
void RunIteration () {
			BufferedInput = ReadUserInput ();
			if (string.IsNullOrEmpty (BufferedInput)) return;
			var module = WrapIodineOperation (this, () => Iodine.CompileSource (BufferedInput));
			if (module == null) return;
			var result = WrapIodineOperation (this, () => Iodine.InvokeModule (module));
			if (result == null) return;
			PrettyPrint.WriteLine (result);
		}
void RunIteration ( ) { BufferedInput = ReadUserInput ( ) ; if ( string . IsNullOrEmpty ( BufferedInput ) ) return ; var module = WrapIodineOperation ( this , ( ) => Iodine . CompileSource ( BufferedInput ) ) ; if ( module == null ) return ; var result = WrapIodineOperation ( this , ( ) => Iodine . InvokeModule ( module ) ) ; if ( result == null ) return ; PrettyPrint . WriteLine ( result ) ; }
Run a single read-evaluate-print iteration.
Run a single read - evaluate - print iteration .
// Read user input // Compile the module // Invoke the module // Pretty print the result