[Mono-dev] Mono embedded scripting language advice

Peter Johanson peter at peterjohanson.com
Thu Feb 16 18:19:55 EST 2006

On Thu, Feb 16, 2006 at 06:09:29PM -0500, David Jung wrote:
> Hi.
> I have an app in which I have a small 'console' text area in which I'd 
> like to have users enter small snippet of code in a scripting language, 
> that I can then execute.  I'd also like to define some 'functions' 
> up-front that will access my app's (C#) classes.
> Can someone recommend an implementation of a scripting language that is 
> known to work with Mono? (and is stable)
> I tried boo, but the latest version crashes on 'print "hello world"' 
> with the latest release (and svn) versions of mono

That is a bug in mono, causing issues with boo's resource files it uses
for translated error/warning messages. This had been fixed in mono, and
then the patch was reverted because it had issues. You can follow that
bug on bug #77242 (http://bugs.ximian.com/show_bug.cgi?id=77242). Once
that gets properly resolved by Robert, boo has all the features you just
stated as a requirement.

For now, you can solve that crasher be doing 'export LANG="C"' at the
console before running any boo stuff.


More information about the Mono-devel-list mailing list