Eval or Can I call JScript from an Editor C# Script?

I'm in need of an 'eval' function as in Javascript, but C# has none (and I don't care for the C# implementations). It needs to run in an Editor script, which is C#.

So I figured I'd make a little Javascript:

function evaluate(s)
{
  eval(s);
}

But I'm getting the old 'does not exist in the current context' error. I tried moving the eval jscript to the Plugins folder, no luck.

Any other way to do this?

would Mono.CSharp.Evaluator.Evaluate(System.String) work? http://www.go-mono.com/docs/monodoc.ashx?link=M%3aMono.CSharp.Evaluator.Evaluate(System.String)