Abe Gillespie wrote:
I was wondering if there's any easy way to run C# scripts in Mono. I'm fairly new to Linux (just at about a year) and I'd like to avoid
learning yet another language (Perl, sh, etc.).  Has anyone written a
.Net program that takes a file as input and runs that code?  Perhaps
Mono can do this natively?  How cool would it be to have startup
scripts written in C#?!

If you're not attached to C# specifically, you might want to check out Boo. It's a Python-inspired language for the CLR (so all the familiar class library is available to you), and should be rather more appropriate for lightweight scripting.

It includes an interactive interpreter which should work for scripts as well.

http://boo.codehaus.org/

-- brion vibber (brion @ pobox.com)
_______________________________________________
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to