[Mono-list] CSharp interpreter feedback, and a gift

Doug Blank doug.blank at gmail.com
Thu Jan 27 21:52:35 EST 2011


Mono devs,

I've just been working the CSharp interpreter and have some
suggestions for easier use:

1) a single evaluate function which could handle expressions and statements.
2) able to evaluate multiple statements, without evaluating them one by one.
3) handle errors through a return or raised exception, rather than
through a side-effect print to Console.Out, or Console.Error

I haven't looked into how the Csharp interpreter actually works, but
it would be excellent if the user could define functions and classes,
in the environment. Would that be possible?

And a gift: wouldn't be handy to use the CSharp interpreter
side-by-side with Python, Ruby, Boo, Lisp, and Scheme, all in an
interpreted shell-editor, even sharing data and code? Now you can.
I've just added CSharp interpreter to the Pyjama Project,
http://PyjamaProject.org

It would be great to be able to have C# as one of the languages to use
in this educational environment, but until it can address functions
and classes, it will be a second-class citizen. Although, it will be a
nice step for students to be able to take to see a fully-typed,
explicit language---even as it is interpreted.

If any one has suggestions about using C# in the educational
environment, please let me know.

-Doug


More information about the Mono-list mailing list