Java has such a beast, its called beanshell (www.beanshell.org). I have used it a lot over the years and I imagine something analogous would be useful for C#. Beanshell isn't _exactly_ Java though, variables don't have to be declared and casts aren't needed. Everything is executed using reflection and a simple interpreter.
> -----Original Message----- > From: Keisuke Nishida [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 27, 2002 9:38 AM > To: [EMAIL PROTECTED] > Subject: [Mono-list] Interactive .NET operation > > > Hi, > > Is there a command-line tool that allows me to access .NET > interactively? I am thinking of something like this: > > $ interactive-mono > mono> using System > mono> Console.WriteLine("Hello") > Hello > mono> class Foo > mono> static int Add(int x, int y) { return x + y; } > mono> Add(1, 2) > $1 = 3 > mono> > > If not, I am interested in writing one (if it is feasible). > > Keisuke > > > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
