On Tue, 05 Jan 2010 21:00:13 -0600 Andrei Alexandrescu <seewebsiteforem...@erdani.org> wrote:
> Jussi Jumppanen wrote: > > Nick Sabalausky Wrote: > > > >> I thought C# compiling was already part of the .NET library...? > > > > It is. > > > > Class: CSharpCodeProvider > > Namespace: Microsoft.CSharp > > Assembly: System (in System.dll) > > > > Provides access to instances of the C# code generator and code > > compiler. > > > > The REPL in Hejlsberg's demo requires a bit more than what > CSharpCodeProvider offers. Instead of compiling an entire file, the > loop needs to compile a code snippet and save the resulting > environment for further evaluations. > > The changes in the compiler aren't huge, and the effect is quite nice. > > > Andrei This is an old vid but IIRC Miguel created a reply vid explaining how Mono had the ability to do REPLs for a long time.