[Mono-list] Scripting the Linux OS with Mono

Brion Vibber brion at pobox.com
Thu Nov 10 20:03:54 EST 2005


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)


More information about the Mono-list mailing list